Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ERROR: java.lang.NoClassDefFoundError: javax/xml/transform/Source

843834Jan 25 2002 — edited Jan 28 2002
Hi,
when trying to run a servlet which imports org.xml.sax, org.apache.fop and javax.xml.transform libraries, I am getting the following error:

Error. The server encountered an unexpected condition which prevented it from fulfilling the request.


java.lang.NoClassDefFoundError: javax/xml/transform/Source
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:625)
at com.newatlanta.servletexec.ServletClassLoader.loadClass(ServletClassLoader.java)
at com.newatlanta.servletexec.HostServletContext.loadUnconfiguredServlet(HostServletContext.java)
at com.newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.standardServletRequest(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)

Other servlets that don't include those libraries run fine.
Does anybody know what is the problem?

This is what I have in my class path:
C:\jdk1.3.1_02\bin;C:\jdk1.3.1_02\lib\tools.jar;C:\jdk1.3.1_02\bin\javax\servlet.jar;C:\jdk1.3.1_02\bin\org\apache\fop.jar;C:\jdk1.3.1_02\new xerses\xml-xerces\java\tools\xalan.jar;C:\jdk1.3.1_02\new xerses\xml-xerces\java\tools\xerces.jar;C:\jdk1.3.1_02\bin\javax\xml\transform;C:\Program Files\New Atlanta\ServletExec ISAPI\lib\servlet.jar;C:\Program Files\New Atlanta\ServletExec ISAPI\lib\servletexec31.jar;

Thank you in advance for your help!!!
Elena.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2002
Added on Jan 25 2002
10 comments
1,668 views