org.apache.jena.ontology.ConversionException: Cannot convert node http://schema.org/Product to OntClass: it does not have rdf:type owl:Class or equivalent

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

Solutions on the web

via Stack Overflow by user1783398
, 1 year ago
Cannot convert node http://schema.org/Product to OntClass: it does not have rdf:type owl:Class or equivalent
via Stack Overflow by RichouHunter
, 10 months ago
Cannot convert node http://titan.be/axis-csrm/interoperabilitymodel/ontology/0.4#AXE to OntClass: it does not have rdf:type owl:Class or equivalent
org.apache.jena.ontology.ConversionException: Cannot convert node http://schema.org/Product to OntClass: it does not have rdf:type owl:Class or equivalent
at org.apache.jena.ontology.impl.OntClassImpl$1.wrap(OntClassImpl.java:82)
at org.apache.jena.enhanced.EnhNode.convertTo(EnhNode.java:152)
at org.apache.jena.enhanced.EnhNode.convertTo(EnhNode.java:31)
at org.apache.jena.enhanced.Polymorphic.asInternal(Polymorphic.java:62)
at org.apache.jena.enhanced.EnhNode.as(EnhNode.java:107)
at org.apache.jena.ontology.impl.OntResourceImpl.lambda$listDirectPropertyValues$30(OntResourceImpl.java:1536)
at org.apache.jena.util.iterator.Map1Iterator.next(Map1Iterator.java:46)
at org.apache.jena.util.iterator.WrappedIterator.next(WrappedIterator.java:94)
at org.apache.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:56)
at org.apache.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:90)
at org.apache.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:55)
at org.apache.jena.util.iterator.WrappedIterator.hasNext(WrappedIterator.java:90)
at org.apache.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:55)

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.

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