java.lang.ClassNotFoundException

org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

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

Solutions on the web1

  • via Oracle Community by 326154, 1 year ago
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
  • Stack trace

    • java.lang.ClassNotFoundException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:214) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:196) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:384) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:93) at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:214) at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:83) at org.apache.axis.encoding.SerializationContext.getEncoder(SerializationContext.java:1509) at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java:1166) at org.apache.axis.message.NodeImpl.output(NodeImpl.java:817) at org.apache.axis.message.MessageElement.outputImpl(MessageElement.java:1255) at org.apache.axis.message.MessageElement.output(MessageElement.java:1207) at org.apache.axis.message.MessageElement.getAsString(MessageElement.java:1110) at org.apache.axis.message.MessageElement.getAsDocument(MessageElement.java:1079) at uk.org.ogsadai.dqp.gqes.service.QueryEvaluationServiceBindingImpl.isValid(QueryEvaluationServiceBindingImpl.java:173) at uk.org.ogsadai.dqp.gqes.service.QueryEvaluationServiceBindingImpl.evaluate(QueryEvaluationServiceBindingImpl.java:70) at uk.org.ogsadai.dqp.gqes.service.QueryEvaluationServiceBindingImplWrapper.evaluate(QueryEvaluationServiceBindingImplWrapper.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.jpub.reflect.Server.invoke(Server.java:96) at oracle.jpub.reflect.Server.invoke(Server.java:70)

    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, 1 year ago
    Unknown user
    Once, 1 week ago
    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 2 months ago
    1190 more bugmates