After importing Maven project into MyEclipse in the work, after MVN Eclipse:eclipse is executed in the Pom.xml file directory, the "Maven Dependencies" directory is missing in the project and the project file "is not seen." Project H and. Classpath "found the following prompt ( will cause the Pom file to be modified, dependent dependencies will not be automatically downloaded ):
Browse URLs: http://blog.teamextension.com/m2eclipse-m2e-support-for-maven-eclipse-plugin-projects-497
Eventually the problem is solved.
The following main records address the steps that are addressed (mainly related to the project's two configuration files . project and . Classpath files):
1. Add the following to the. Project file:
<Buildspec> <Buildcommand> <name>Orre.maven2builder</name> </Buildcommand> </Buildspec><Natures> <Nature>Orre.maven2nature</Nature></Natures>
2. Add the following in the. classpath file:
<ClasspathentryKind= "Con"Path= "Org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attributename= "Maven.pomderived"value= "true"/> </attributes></Classpathentry>
3. Delete the contents of the. classpath file in the following format (the value of path starts with "M2_repo" related configuration):
4, in the Eclipse or MyEclipse related project execution, clean--"refresh
5. Right-click the project and do the following:
In this case, the problem should be resolved (modify the Pom file, the relevant jar package can be downloaded automatically), if not resolved, can find a normal project, compared with the. classpath and. project files, basically resolves the related issues.
Eclipse (myeclipse) configuration Maven Project