Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omnigator: when exporting RDF syntax, ClassNotFoundException occurs #176

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 4 comments
Closed

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

What steps will reproduce the problem?
1. Exporting topic map as RDF syntax using Omnigator

What is the expected output? What do you see instead?
I expect topic map as RDF syntax. But instead ClassNotFoundException occurs. 

Please use labels and text to provide additional information.

I attach the topic map file and tomcat.log

Original issue reported on code.google.com by motomu.n...@gmail.com on 4 Jan 2010 at 1:17

Attachments:

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Ooops. It turns out that we need apache-oro after all, because Jena uses it:

 java.lang.ClassNotFoundException: 
org.apache.oro.text.regex.MalformedPatternException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.hp.hpl.jena.rdf.model.impl.RDFWriterFImpl.getWriter
(RDFWriterFImpl.java:113)

Original comment by lar...@gmail.com on 4 Jan 2010 at 1:22

  • Changed state: Accepted
  • Added labels: Component-Engine, RDF

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Newer versions of Jena does not depend on oro. Example: 
http://mvnrepository.com/
artifact/com.hp.hpl.jena/jena/2.6.2

Hard to tell how difficult it will be to upgrade Jena though. :)

Original comment by indiapaleale@gmail.com on 4 Jan 2010 at 1:35

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

This issue was closed by revision r772.

Original comment by lar...@gmail.com on 4 Jan 2010 at 3:17

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

For anyone using Ontopia 5.0.2: the workaround is to simply download Apache Oro 
and 
putting the .jar file in apache-tomcat/common/lib. Then Jena will find it, and 
everything will work.

Original comment by lar...@gmail.com on 4 Mar 2010 at 12:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant