SpringBoot项目报错:[WARNING] The requested profile “pom.xml” could not be activated because it does not

  • Post author:
  • Post category:其他


SpringBoot项目中报错:

[WARNING] The requested profile “pom.xml” could not be activated because it does not exist.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project springDemo1: Compilation failure

[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

问题原因在于你的maven仓库的问题,请检查你的maven仓库配置对了没有,同时检查你的镜像地址,因为这个是由于你的pom.xml找不到,所以无法下载各种jar导致的错误,这都是小问题



版权声明:本文为qq_16393511原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。