| Summary: | Jars omitted from classpath | ||
|---|---|---|---|
| Product: | [Technology] M2E-WTP | Reporter: | benson margulies <bimargulies> |
| Component: | Core | Assignee: | Project Inbox <m2e-wtp.core-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | fbricon, manderse, snjezana.peco |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
- Can you attach a sample project reproducing this? - What exact version of m2e-wtp are you using? - have you tried cleaning your tomcat instance? Benson, any progress on this( sample test project)? Have you tried diff'ing the WTP deployed war against a CLI gen'd war? Fred, bz never delivered your email to me requesting a test case, and I've since abandoned Eclipse altogether due to my many frustrations with m2e. Please feel free to close this if the simple repro steps don't repro. Closing as can't reproduce and per Benson's comment. Feel free to reopen if needed, along some test sample(s). |
Build Identifier: 20120614-1722 The pom.xml of my war project includes: <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> </dependency> (there is a dependencyManagement for the version above) The war file built by maven contains spring-web.jar. But, if I try to launch the webapp in tomcat with m2e-wtp, I get: SEVERE: Error configuring application listener of class org.springframework.web.util.Log4jConfigListener java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:525) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:507) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:126) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) Reproducible: Always Steps to Reproduce: 1. make a web project with no code in it but dependencies. 2. try to launch in tomcat7 3. have a problem like the above.