You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.Compile
2.Run
What is the expected output? What do you see instead?
I receive this error:
Excecute the query:
Exception in thread "main" java.lang.NoClassDefFoundError: jpaul/DataStructs/UnionFind
SELECT * WHERE {
Type(?x, <http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WhiteWine>)}
-------------------------------------------------
at de.derivo.sparqldlapi.impl.QueryEngineImpl.findComponents(Unknown Source)
at de.derivo.sparqldlapi.impl.QueryEngineImpl.execute(Unknown Source)
at javaapplication6.SparqlDLQueryTest.processQuery(SparqlDLQueryTest.java:167)
at javaapplication6.SparqlDLQueryTest.testQuery(SparqlDLQueryTest.java:69)
at javaapplication6.JavaApplication6.main(JavaApplication6.java:19)
Caused by: java.lang.ClassNotFoundException: jpaul.DataStructs.UnionFind
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 5 more
Java Result: 1
What version of the product are you using? On what operating system?
OWLAPI 3.4.3
Hello,
I assume with the example you mean the test class: owltools.graph.SparqlDLQueryTest in OWLTools-Core.
This test case runs without any problems. Judging from your error message, you created new test example in a different project. That project seems not to import all the required jar files. In your case, you are missing the jpaul.jar file.
We handle all of our imports via Maven and its pom.xml project descriptor. JPaul and JDom are both transitive dependencies for the sparqldl-api.
From daniele1...@hotmail.com on July 11, 2013 07:51:51
What steps will reproduce the problem?
1.Compile
2.Run
What is the expected output? What do you see instead?
I receive this error:
Excecute the query:
Exception in thread "main" java.lang.NoClassDefFoundError: jpaul/DataStructs/UnionFind
SELECT * WHERE {
Type(?x, <http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WhiteWine>)}
-------------------------------------------------
at de.derivo.sparqldlapi.impl.QueryEngineImpl.findComponents(Unknown Source)
at de.derivo.sparqldlapi.impl.QueryEngineImpl.execute(Unknown Source)
at javaapplication6.SparqlDLQueryTest.processQuery(SparqlDLQueryTest.java:167)
at javaapplication6.SparqlDLQueryTest.testQuery(SparqlDLQueryTest.java:69)
at javaapplication6.JavaApplication6.main(JavaApplication6.java:19)
Caused by: java.lang.ClassNotFoundException: jpaul.DataStructs.UnionFind
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 5 more
Java Result: 1
What version of the product are you using? On what operating system?
OWLAPI 3.4.3
Original issue: http://code.google.com/p/owltools/issues/detail?id=73
The text was updated successfully, but these errors were encountered: