Maven 使用中常见问题

版权声明:转载请申明出处,谢谢 https://blog.csdn.net/qq_35495763/article/details/88378092

Update Time:2019-3-10 Author:要你命三千又三千 type:错集合

文章目录

问题一

可能会出现如下错误:
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

使用mvn jetty:run 运行时,需要在运行环境中使用jdk.
第一步:eclipse 导航栏中 【Window】–>【Prefrences】–>【Java】–>【Installed JREs】
第二步:出现的框里点击添加—>【Standard VM】—> 选择JDK的安装目录确定。

第三步:Installe jres:切换成jdk
maven No compiler is provided environment

猜你喜欢

转载自blog.csdn.net/qq_35495763/article/details/88378092