在svn上导入spring-boot项目时候启动报错。

仔细查看原因 发现

tomcat启动端口为:8080 

idea引入spring-boot项目不识别 yml文件

而我设置的YML文件为8888

idea引入spring-boot项目不识别 yml文件

由此可以发现是没有编译文件。

idea引入spring-boot项目不识别 yml文件

ctral+shift+alt+s 进入发现 没有;

解决方法:1:选中,2 点击 resources 3 apply 

idea引入spring-boot项目不识别 yml文件

即可,

 

相关文章:

  • 2021-04-01
  • 2022-12-23
  • 2021-08-21
  • 2021-11-11
  • 2022-01-07
  • 2021-05-23
猜你喜欢
  • 2021-05-10
  • 2021-09-13
  • 2021-10-25
  • 2021-08-14
  • 2021-06-08
  • 2022-12-23
  • 2022-03-03
相关资源
相似解决方案