其他分享
首页 > 其他分享> > cmd中mvn命令,出现No compiler is provided in this environment. Perhaps you are running on a JRE rather tha

cmd中mvn命令,出现No compiler is provided in this environment. Perhaps you are running on a JRE rather tha

作者:互联网

在cmd里执行mvn命令,出错

出错图片

查看mvn -v

发现mvn运行在jre上,更改高级设置。我的电脑--》属性--》高级系统设置--》环境变量


更改完之后,再次查看 mvn -v

搞定!!!!!!!!!!!!!!!!!!!!

标签:provided,JRE,查看,更改,rather,cmd,高级,设置,mvn
来源: https://www.cnblogs.com/lick468/p/10465866.html