myeclipse中maven项目导入sts中classpath不识别问题解决方法
myeclipse中项目 .classpath中
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
导入到sts中不识别
1.右键项目-->configure-->Convert to Maven Project
2.需改成
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>