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
How I can to do an DNS or IP autoritative for a domain?
Seeking: Command Line Rename Utility with Recursive ability over network
dsl modem with built router question
AD/DNS Error Message
How do you enable Simple File Sharing on a VISTA Ultimate (64-bit) install?
VOIP setup for ships
Message not transferred to xxx 450.4.7.1 Client host rejected
How to Increase internal IP range for 200+ clients
Issuing a MS SSL Cert in PEM Format
Cable arrangements for phone and ADSL modem router (UK)