Hi, this is probably a "stupid question", but I have no experience with
Maven and very little with Java, so I'm quite stuck right now. I have Maven
3.0.5 installed, and here's what I've tried to install arq:

> cd $HOME/dev
> wget http://www.apache.org/dist/jena/source/jena-2.10.1-source-release.zip
> unzip jena-2.10.1-source-release.zip
> cd jena-2.10.1
> mvn install

Builds fine and tests run fine. Here's a complete log:
http://pastebin.com/7yBvdChH

Next I did:

> export ARQROOT="$HOME/dev/jena-2.10.1/jena-arq"
> export PATH="$PATH:$HOME/dev/jena-2.10.1/jena-arq/bin"
> arq_path

/Users/danmichael/dev/jena-2.10.1/jena-arq/target/classes

> arq

Exception in thread "main" java.lang.NoClassDefFoundError:
com/hp/hpl/jena/shared/JenaException
 at arq.arq.main(arq.java:34)
Caused by: java.lang.ClassNotFoundException:
com.hp.hpl.jena.shared.JenaException
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)
 ... 1 more


After taking a look at the arq bin file, I tried

> java -cp jena-core/target/classes:jena-arq/target/classes: arq.arq

but then I just got another NoClassDefFoundError for
"org/apache/log4j/PropertyConfigurator" instead. I didn't manage to find
that class. Could there be some path I have not set (correctly)?

Thanks!
Dan Michael

Reply via email to