|
|
Re: Mvn classpath container empty after pom change [message #498526 is a reply to message #497211] |
Tue, 17 November 2009 10:48 |
danielh Messages: 4 Registered: July 2009 |
Junior Member |
|
|
I am looking at an Ecplise that has this problem right now. There are no error messages in the Error log that seem relevant. I tried clearing it, restarted tomcat and it remains empty.
Now, I was a bit unclear in my previous post. The Maven classpath container as it appears in the project looks quite healty, but what gets written to Tomcat's server.xml is missing all Maven dependencies. I included a snippet from Tomcat's server.xml (which is under Eclipse control). Normally the virtualPath attribute contains a long list of paths pointing to my local maven repository.
So it looks like IAM's got it right but somehow it doesn't make it all the way to server.xml.
Snippet from server.xml:
<Context docBase="C:\Projects\FF\my-project\src\main\webapp" path="" reloadable="true" source="org.eclipse.jst.j2ee.server:my-project">
<Resources className="org.eclipse.jst.server.tomcat.loader.WtpDirContext "
virtualClasspath=" C:\Projects\FF\my-project\target\test-classes;C:\Projects\FF \my-project\target\classes;C:\Projects\FF\my-common\target\t est-classes;C:\Projects\FF\my-common\target\classes "/>
<Loader className="org.eclipse.jst.server.tomcat.loader.WtpWebappLoader " useSystemClassLoaderAsParent="false"
virtualClasspath=" C:\Projects\FF\my-project\target\test-classes;C:\Projects\FF \my-project\target\classes;C:\Projects\FF\my-common\target\t est-classes;C:\Projects\FF\my-common\target\classes "/></Context>
<Context debug="1"
docBase="C:\Projects\FF\backoffice\src\main\webapp" path="/backoffice" reloadable="true" source="org.eclipse.jst.j2ee.server:backoffice">
[Updated on: Tue, 17 November 2009 10:50] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.07112 seconds