I created a web project with Roo1.2.0.Release. I can run "mvn install" and use the project with "mvn tomcat:run". Yet when I open it I have massive classpath problems in STS2.9M1 and maven libraries don't show up under Libraries. Symptom is that M2_REPO begins all dependencies. So I set a new M2_REPO variable that points to my maven 2 repository root.
Now they all get the warning "Classpath entry M2_REPO/[product]/2.x.x/[product]2.x.x.jar will not be exported or published. Runtime ClassNotFoundExceptions may result".
The project also sets itself to jdk1.4 when I run "mvn eclipse:eclipse". This is easy to reset in the project settings however, but it's a first.
Does this sound familiar? How did you solve it?


Reply With Quote
