码迷,mamicode.com
首页 > 其他好文 > 详细

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

时间:2015-05-10 15:45:33      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:maven   error   compiler   jdk   runtime   

执行Maven Install打包的时候,出现以下错误信息:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error

这是因为为没有Web项目指定运行环境 的原因,在项目名称上单击鼠标右键》属性:
技术分享

技术分享

技术分享

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

标签:maven   error   compiler   jdk   runtime   

原文地址:http://blog.csdn.net/testcs_dn/article/details/45621103

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!