Eclipse使用Maven2的一次环境清理记录

1. C:UsersAdministrator.m2 epositorycomyuanchuangyun[module,yuanchuangyun-*]相关目录全删除。
2. D:workspacegit.metadata.pluginsorg.eclipse.wst.server.core mp2wtpwebappsyuanchuangyun-libra-web该目录删掉。
3. tomcat应用启动失败,就是缺少jar包:

<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>

放置位置:

    <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>