Microsoft
Software
Hardware
Network
Question : java.lang.ClassNotFoundErr<wbr />or ClassName - Please suggest
My Web Application is giving an error in SysErr.log file
java.lang.NoClassDefFoundE
rror: org/jdom/output/Format
But, I already have
"jaxen-core.jar" "jaxen-jdom.jar" "jdom.jar" "saxpath.jar" "xalan.jar" "xerces.jar" "xml-apis.jar" in my "build path of the project."
where jdom.jar has org.jdom.output.Format.
And what is weird is that "It would have given compilation error if it isn't present in the project. But it is giving the runtime error saying NoClassDefFoundError Format." Please suggest why is this happening & What to do to avoid this in WebSphere?
Code Snippet:
1: 2:
Format format = Format.getCompactFormat(); XMLOutputter xout = new XMLOutputter(format);
Open in New Window
Select All
Answer : java.lang.ClassNotFoundErr<wbr />or ClassName - Please suggest
I've said before - different compile time and runtime classpaths
Random Solutions
Cannot set up a secure connection with dc
Linux PBX Asterisk
Windows handling of gratuitous ARP messages
Is a DMZ necessary on our network?
How can I extend a TMobile Hotspot's range
Missing Expression at sql statement
UDP to TCP + visa versa
What objects have special permissions on Oracle Application Server?
Faxing through ADSL modem
Network computer disappears