读书人

创建maven环境的时候出现的一些有关问

发布时间: 2012-09-28 00:03:35 作者: rapoo

创建maven环境的时候出现的一些问题
Today , I have met two problem in process of buling eclipse+maven development environment.
?Eclipse is running in a JRE, but a JDK is required

Solve:
1.configure the Window/Preference/java/=>intall/jre, we can add a standard vm in the windows.
2.Open the eclipse.ini, and add “-vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\javaw” at the top of the document.

?M2eclipse,can not use add-dependency in the pom.xml, the result is zero

Solve:
1.We must rebuild the index of repository. Window/show view/other/maven
2.In the opened window, left bitting local repositories -> local repository, select the rebuild index .

读书人网 >软件开发

热点推荐