在Eclipse中运行Maven项目,报错:
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
解决方法:
Windows > Preferences > Java > Installed JREs > Add > Standard VM, 选择jdk的安装目录,勾选。
重新build,成功:
文章来源:https://www.toymoban.com/news/detail-630721.html
参考:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK_chijuzi6412的博客-CSDN博客文章来源地址https://www.toymoban.com/news/detail-630721.html
到了这里,关于Maven: No compiler is provided in this environment.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!