On certain occasions Eclipse will present you with the following warning:
Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result.
So solve this, do the following:
- Open the properties of the project that generates this warning
- Click on “Java Build Path”
- Click on the tab “Order and Export”
- Enable “Maven Dependencies”
- Click on “Ok”
- Open the “Problems” view
- Select the warning we are trying to solve, and press “Ctrl-1″
- Click on “Ok”
The problem is now solved. It may take some time before the warning disapears because the project needs to rebuild before it goes away.
标签:project,CONTAINER,MAVEN2,CLASSPATH,will,warning,Ok,Click,before From: https://blog.51cto.com/u_15887056/5875155