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 dependency. The project builds fine, but won't work at runtime due to missing classes. Normally, the Problems view will show warnings when this is the case.
Assuming this is your problem, go the Java EE Module Dependencies page in the web project's Properties dialog. Make sure all the jars you want in "WEB-INF/lib" at runtime are checked. Cheers, Larry -----Original Message----- From: Steve Cohen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 11:44 AM To: Tomcat Users List Subject: Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat It's the Real Tomcat, but running inside Eclipse WTP, which starts and stops the server. Caldarale, Charles R wrote: >> From: Steve Cohen [mailto:[EMAIL PROTECTED] >> Subject: Re: HELP!!! java.lang.NoClassDefFoundError running >> CXF-based client inTomcat >> >> Another piece of information I omitted: JDK version >> java-1.5.0-sun-1.5.0.13 running under Ubuntu Linux. >> > > Is this a real Tomcat or a 3rd-party repackaged version? If the latter, > please install a real one from tomcat.apache.org and try again, as the > 3rd-party ones often break things in subtle ways. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]