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

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导致的错误,这都是小问题

你可能感兴趣的:(SpringBoot)