使用idea自带maven插件打包,在liunx服务器运行报错No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure that file is correct.;

maven 打包命令 -No auto configuration classes found in META-INF/spring.factories. If you are using a cus

此2中都存在错误,采用命令行可以很好的解决这个问题

maven 打包命令 -No auto configuration classes found in META-INF/spring.factories. If you are using a cus

使用idea自带终端控制台还是比较友好的

maven 打包命令 -No auto configuration classes found in META-INF/spring.factories. If you are using a cus

 点击打开输出

打包命令:mvn clean install -Dmaven.test.skip

maven 打包命令 -No auto configuration classes found in META-INF/spring.factories. If you are using a cus

找到打包之后的目录即可

 

maven 打包命令 -No auto configuration classes found in META-INF/spring.factories. If you are using a cus

成功启动

 

相关文章:

  • 2021-09-03
  • 2021-10-07
  • 2022-12-23
  • 2021-12-01
  • 2021-12-05
  • 2022-12-23
  • 2021-09-09
猜你喜欢
  • 2021-06-28
  • 2021-10-30
  • 2022-12-23
  • 2021-12-05
  • 2021-09-16
  • 2021-08-13
  • 2022-12-23
相关资源
相似解决方案