警告:
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result.

解决办法如下:
properties->Deployment Assembly->Add->Java Build path Entries
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported..
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported..

添加完成后可以看到如下:
Classpath entry org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER will not be exported..
最后Apply即可。

相关文章: