我是靠谱客的博主 苗条月光,最近开发中收集的这篇文章主要介绍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] 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.所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部