About eclipse maven project can not import dependent solutions

1, first make sure your project is a maven project, if it is not: Project Right Configure -> Convert to maven project.

2, derived in the SVN Maven project, or not previously used Maven project management want to convert into a Maven project, but can not find Myeclipse right-Configure option Convert to maven project, requiring the following settings:

Window> the Preferences> General> The Capabilities> Advanced> MyEclipse Standard Tools> the Check at The the Option the WTP (of Deprecated in).
3, if the project is already maven maven is not dependent on imported right-click the project properties -java build path to see if there maven dependencies at libraries If no: you need to <classpathentry kind = "con" path = "org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER" /> When this code is compiled into your project workspace in the .classpath file and then reload the project on OK .

 

Guess you like

Origin www.cnblogs.com/timao/p/12216703.html