Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata
如果出现上上面这三个错误大概率时spring boot版本和spring cloud版本不对应有冲突造成的。只需修改版本使其不冲突即可。
例如我使用的spring boot版本使2.6.10的
却使用了较低版本的spring cloud组件因此造成版本冲突
然后我就尝试换成了较高版本的spring cloud的插件
结果还是报错,但贴心的这个版本为我提示了建议版本,真的太贴心了!赞👍
按照其建议降低了spring boot的版本
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>