maven update web工程报错

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/baidu_29092471/article/details/51896979

报错Description Resource Path Location Type
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result. dsaf P/dsaf Classpath Dependency Validator Message

修改工程下 .classpath

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

猜你喜欢

转载自blog.csdn.net/baidu_29092471/article/details/51896979