Springboot项目 错误: 找不到或无法加载主类
1、找到对应的项目路径下 cmd 进入控制台2、输入 mvn clean install 命令3、重新运行项目,就可以了。可能遇到的问题:The JAVA_HOME environment variable is not defined correctly.This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE.解决办法:打开环境变量
原创
2020-07-15 01:27:39 ·
206 阅读 ·
0 评论