From: Steve Cohen [mailto:[EMAIL PROTECTED]
Subject: HELP!!! java.lang.NoClassDefFoundError running
CXF-based client inTomcat
I am beginning to think the problem is not a missing class
but a class conflicting with something in Tomcat.
Highly likely. First just look at the names of the
Tomcat version is 6.0.16. Sorry for not mentioning it originally. Thanks.
Caldarale, Charles R wrote:
From: Steve Cohen [mailto:[EMAIL PROTECTED]
Subject: HELP!!! java.lang.NoClassDefFoundError running
CXF-based client inTomcat
I am beginning to think the problem is not a missing class
but a
One such tool is jarFinder
(http://www.isocra.com/articles/jarFinder.php)
You need Ant to build the tool.
Example:
java -cp classes com.isocra.utils.jarSearch.DirectorySearcher DIRECTORY
org.my.program.class
Another explanation could be that the wrong class loader is looking for
the class. Can
From: Steve Cohen [mailto:[EMAIL PROTECTED]
Subject: Re: HELP!!! java.lang.NoClassDefFoundError running
CXF-based client inTomcat
Tomcat version is 6.0.16.
That simplifies things, since the only directory to look at is Tomcat's lib.
One common error is having j2ee.jar around, which
Another piece of information I omitted: JDK version
java-1.5.0-sun-1.5.0.13 running under Ubuntu Linux.
This appears relevant to me after reading
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html - the
section entitled XML Parsers and JSE 5, although I'm not sure what to do
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
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