You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by nickdmax <ni...@gmail.com> on 2011/11/15 02:18:32 UTC
class not found CXF/lib/endorse
I am trying to run the tools found in CXF_HOME/bin (specifically wsdl2js)
when I do I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: CXF\lib\endorsed
Caused by: java.lang.ClassNotFoundException: CXF\lib\endorsed
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
I am on Windows. java -version returns 1.6.0_22
I have set: CXF_HOME="C:\JavaExtras\Apache CXF"
Google has let me down on this one. I didn't really see any installation
notes that needed to be followed so I am pretty sure that I just don't have
something setup that should be.
Thanks,
NickDMax
--
View this message in context: http://cxf.547215.n5.nabble.com/class-not-found-CXF-lib-endorse-tp4993076p4993076.html
Sent from the cxf-issues mailing list archive at Nabble.com.
Re: class not found CXF/lib/endorse
Posted by nickdmax <ni...@gmail.com>.
Problems solved.
The issue was with CXF_HOME. The quotation marks (added by Windows console
when auto-filling a path) were the problem. Using:
set CXF_HOME=C:\JavaExtras\Apache CXF
(removing the quotation marks added by windows when you press the "tab" key
to autocomplete the directory "Apache CXF" which contains a space).
works wonderfully.
--
View this message in context: http://cxf.547215.n5.nabble.com/class-not-found-CXF-lib-endorse-tp4993076p4993203.html
Sent from the cxf-issues mailing list archive at Nabble.com.