HELP!!! java.lang.NoClassDefFoundError running CXF-based client in Tomcat

2008-11-26 Thread Steve Cohen
(Cross-posted on Apache CXF Mailing List) I have developed a Client for accessing a vendor's Web Service. The client is based on the CXF framework, built with source code generated from a Maven-based pom.xml and the vendor's WSDL. I ran this client in a standalone JUnit test and found it to

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client in Tomcat

2008-11-26 Thread Larry Isaacs
Be aware that in Eclipse WTP, your web project is published to the server to be served. Jars that are added to the project as runtime dependencies will be copied to the WEB-INF/lib of the published webapp. Just adding a jar to the build path of the web project DOES NOT add the jar as a runtime

Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client in Tomcat

2008-11-26 Thread Steve Cohen
Thank you Larry!!! That was it! I was barking up the wrong tree. The class that couldn't be loaded was indeed the MyClient class, which existed in a Utility Jar that I had not made a Java EE Module Dependency. D'Oh! Steve Larry Isaacs wrote: Be aware that in Eclipse WTP, your web