The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

java.lang.NoClassDefFoundError: org/w3c/dom/range/Range

Discussion in 'General Discussion' started by SauronZ, Nov 4, 2003.

  1. SauronZ

    SauronZ Member
    PartnerNOC

    Joined:
    May 29, 2003
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    1
    Hi.

    I have installed Tomcat with the installer but once i try to catch a page a have this message.

    java.lang.NoClassDefFoundError: org/w3c/dom/range/Range


    Any help or direction plz?

    SauronZ

    P.D. Here is the co`mplete message.

    Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

    --------------------------------------------------------------------------------

    type Exception report

    message Internal Server Error

    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
    at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
    at java.lang.Thread.run(Thread.java:536)


    root cause

    java.lang.NoClassDefFoundError: org/w3c/dom/range/Range
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:130)
    at org.apache.xerces.parsers.DOMParser.setDocumentClassName(DOMParser.java:489)
    at org.apache.xerces.parsers.DOMParser.(DOMParser.java:221)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.(DocumentBuilderImpl.java:98)
    at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:87)
    at org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:197)
    at org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
    at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
    at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345)
    at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429)
    at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495)
    at java.lang.Thread.run(Thread.java:536)



    --------------------------------------------------------------------------------
     
  2. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    After you install Tomcat, it adds a new option into whm called plugins, where you can install servlets. Did you do that for the site that you want to use it on? If not, try doing that and see if it helps.
     
  3. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    This post is inappropriate for these forums, however, I'll give you your answer.

    It clearly states that the root cause is NoClassDefFound. It also outlines the servlet as being part of a package.

    Make sure your Range.class file is located in your /WEB-INF/classes/org/w3c/dom/range directory.

    B12: He's getting a Tomcat error, which means he's already configured the domain as he should within WHM.
     
Loading...

Share This Page