错误信息:

控制台打印红色错误: 找不到或无法加载主类 com.xxx.Application

解决方法:

Eclipse 中点击 Window --> Properties --> Java ---> Compiler--> Building --> Enable project specific settings --> Build path problems --> 勾选 Abort build when build path errors occur ---> 把  Incomplete build path 和 Circular dependencies  这两选项修改为 Warning,然后保存。

SpringBoot启动报错:找不到或无法加载主类

找到主方法再次运行即可:

SpringBoot启动报错:找不到或无法加载主类

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2021-08-31
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2021-10-05
  • 2021-05-29
  • 2021-09-02
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案