运行服务提示找不到或无法加载主类

问题内容:运行某个服务,提示如:错误: 找不到或无法加载主类 org.xxxspring.xxx.xxxApplication

解决方法:在项目最外层根目录cmd运行mvn clean install

或者

点击菜单 Run -> Edit Configurations 进入 如下对话框,检查当前服务的main方法是否指定正确。
运行服务提示找不到或无法加载主类

相关文章: