java.lang.ClassNotFoundException

org.apache.xerces.util.XMLChar

Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3

  • via xerces-j-users by McGibbney, Lewis John, 9 months ago
    org.apache.xerces.util.XMLChar
  • via xerces-j-users by McGibbney, Lewis John, 9 months ago
    org.apache.xerces.util.XMLChar
  • via JIRA by Stian Soiland-Reyes, 1 year ago
    org.apache.xerces.util.XMLChar
  • Stack trace

    • java.lang.ClassNotFoundException: org.apache.xerces.util.XMLChar at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) at com.hp.hpl.jena.rdf.model.impl.Util.splitNamespace(Util.java:63) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.whereToSplit(ResourceImpl.java:115) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.<init>(ResourceImpl.java:67) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.<init>(ResourceImpl.java:70) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl$2.wrap(ResourceImpl.java:27) at com.hp.hpl.jena.enhanced.Personality.newInstance(Personality.java:83) at com.hp.hpl.jena.enhanced.EnhGraph.getNodeAs(EnhGraph.java:128) at com.hp.hpl.jena.rdf.model.impl.IteratorFactory.asResource(IteratorFactory.java:93) at com.hp.hpl.jena.rdf.model.impl.IteratorFactory.asResource(IteratorFactory.java:79) at com.hp.hpl.jena.rdf.model.impl.ModelCom.getResource(ModelCom.java:736) at com.hp.hpl.jena.rdf.model.impl.ModelCom.createResource(ModelCom.java:1151) at com.hp.hpl.jena.vocabulary.OWL.<clinit>(OWL.java:47) at com.hp.hpl.jena.ontology.ProfileRegistry.<clinit>(ProfileRegistry.java:48) at com.hp.hpl.jena.ontology.OntModelSpec.<clinit>(OntModelSpec.java:55) at org.apache.nutch.ontology.jena.OntologyImpl.<init>(OntologyImpl.java:82) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:160) at org.apache.nutch.ontology.OntologyFactory.getOntology(OntologyFactory.java:80) at org.apache.jsp.search_jsp._jspService(search_jsp.java:147) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 4 months ago
    444 more bugmates