1、SpringBoot去掉CONDITIONS EVALUATION REPORT及自动配置内容的查看
application.properties中添加
logging.level.org.springframework.boot.autoconfigure=info
2、取消自动注入DataSource
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
异常
1、nacos [polling-resp] config changed. 一直刷
在nacos配置中多了个spring.main.allow-bean-definition-overriding=true
2、@EnableFeignClients中没有找到对应的路径的文件 有红字
检查依赖的版本是否正常
3、application.yml是表格而不是绿叶子,在project structure中添加了Spring也没用,而且内容不会被校验。
pom依赖中没有添加spring-boot依赖
4、services中不显示端口号
关掉所有java的进程 【关掉idea】
在C:\Users\用户名\AppData\Local\Temp\hsperfdata_用户名 删掉这个 hsperfdata_用户名 文件夹
重新启动即可
services中不显示端口号
SpringBoot去掉CONDITIONS EVALUATION REPORT及自动配置内容的查看