Community
Participate
Working Groups
Build Identifier: 20110615-0604 In my Web-project my project properties are the following; - Java-Build-Path contains Maven dependencies - Deployment Assembly contains Maven dependencies After publishing the project on a Server with the following server options - checked: Serve modules without publishing - checked: Publish module contexts to separate XML Files I get a wrong context.xml The XML contains all Jars in the virtualClasspath including the jar-Files which are declared as provided in the pom.xml In consequence I can not start the (Tomcat) server as the virtuallClasspath contains Jars like servelt-api.jar and others. Reproducible: Always
Created attachment 204597 [details] Exmaple of a wrong context.xml file For Your convenience the classpath-entries are separated by line.
Created attachment 204598 [details] The project properties I
Created attachment 204599 [details] The project properties II
Created attachment 204600 [details] Effective pom.xml
Are you using m2e-wtp? If so issues should be opened at https://issues.sonatype.org/browse/MECLIPSEWTP
this problem exists with asnd without the m2e-wtp plugin. In my opinion it looks like a problem of org.eclipse.jst.server.tomcat.loader.WtpDirContext.
(In reply to comment #6) > this problem exists with asnd without the m2e-wtp plugin. In my opinion it > looks like a problem of org.eclipse.jst.server.tomcat.loader.WtpDirContext. Feel free to reopen this bug and move it to wtp bucket.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/