java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLChar

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by matthiaskoenig
, 1 year ago
org/apache/xerces/util/XMLChar
java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLChar
at org.apache.jena.rdf.model.impl.Util.notNameChar(Util.java:119)
at org.apache.jena.rdf.model.impl.Util.splitNamespaceXML(Util.java:77)
at org.apache.jena.graph.Node_URI.getLocalName(Node_URI.java:80)
at org.apache.jena.rdf.model.impl.ResourceImpl.getLocalName(ResourceImpl.java:152)
at org.apache.jena.rdf.model.impl.PropertyImpl.checkLocalName(PropertyImpl.java:64)
at org.apache.jena.rdf.model.impl.PropertyImpl.(PropertyImpl.java:72)
at org.apache.jena.rdf.model.ResourceFactory$Impl.createProperty(ResourceFactory.java:335)
at org.apache.jena.rdf.model.ResourceFactory.createProperty(ResourceFactory.java:180)
at org.apache.jena.vocabulary.RDF.property(RDF.java:51)
at org.apache.jena.vocabulary.RDF.(RDF.java:64)
at org.apache.jena.system.InitJenaCore.init(InitJenaCore.java:57)
at org.apache.jena.system.InitJenaCore.start(InitJenaCore.java:31)
at org.apache.jena.system.JenaSystem.lambda$init$1(JenaSystem.java:111)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.apache.jena.system.JenaSystem.forEach(JenaSystem.java:186)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.