我是靠谱客的博主 苗条月光,这篇文章主要介绍SpringBoot项目报错:[WARNING] The requested profile "pom.xml" could not be activated because it does not[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.,现在分享给大家,希望可以做个参考。

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项目报错:[WARNING] The requested profile "pom.xml" could not be activated because it does not[WARNING] The requested profile "pom.xml" could not be activated because it does not exist.的全部内容,更多相关SpringBoot项目报错:[WARNING]内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(53)

评论列表共有 0 条评论

立即
投稿
返回
顶部