读书人

Maven学习(2)环境配置

发布时间: 2012-10-26 10:30:59 作者: rapoo

Maven学习(二)——环境配置
写的很不错:直接上网站链接哈哈:http://blog.csdn.net/wolffool/archive/2011/03/18/6259739.aspx

按照此教程上面的方法安装完毕,但是在启动Eclipse的时候提示:
The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK.

Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JRE’s are also using JDK installs.

后查阅了资料:
http://blog.csdn.net/andyhong110/archive/2011/01/25/6163309.aspx
可以解决此问题,里面说修改eclipse.ini文件不可以加入空格,后我尝试了下,是可以加入空格的。

然后再次启动Eclipse,在console里面提示一个更新失败,没有记录下具体的报错信息。直接勾选点maven的启动更新即可。

读书人网 >编程

热点推荐