Letractively / slug-semweb-crawler

Automatically exported from code.google.com/p/slug-semweb-crawler
Other
0 stars 0 forks source link

Cannot run Slug #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I am trying to run Slug using the following cmd:

>> slug -config etc/config.rdf -id shallow-slow-scutter -plan 
etc/sample-plan.rdf

C:\Desktop\slug-0.3-RC1-bin>echo off
Exception in thread "Thread-2" java.lang.NoClassDefFoundError: org/apache/common
s/logging/LogFactory
        at com.hp.hpl.jena.rdf.model.impl.PropertyImpl.<clinit>(PropertyImpl.jav
a:61)
        at com.hp.hpl.jena.enhanced.BuiltinPersonalities.<clinit>(BuiltinPersona
lities.java:27)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.<init>(ModelCom.java:51)
        at com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactor
y.java:125)
        at com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel(ModelFactor
y.java:119)
        at com.ldodds.slug.Scutter.readConfig(Scutter.java:195)
        at com.ldodds.slug.Scutter.run(Scutter.java:103)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFacto
ry
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 8 more
java.lang.NullPointerException
        at com.ldodds.slug.Scutter.save(Scutter.java:221)
        at com.ldodds.slug.Scutter$1.run(Scutter.java:269)

>> Using Slug slug-0.3-RC1-bin [ JDK 1.6 on Windows XP ]

>> Below find the output of my classpath:

C:\Desktop\slug-0.3-RC1-bin>echo %classpath%

build/slug.jar;lib/antlr-2.7.5.jar;lib/arq.jar;lib/commons-logging.jar;lib/concu
rrent.jar;lib/icu4j_3_4.jar;lib/jakarta-oro-2.0.8.jar;lib/jena.jar;lib/log4j-1.2
.12.jar;lib/stax-1.1.1-dev.jar;lib/stax-api-1.0.jar;lib/xercesImpl.jar;lib/xml-a
pis.jar;lib/mysql-connector-java-3.1.8-bin.jar

What do I miss?

Original issue reported on code.google.com by pankli...@googlemail.com on 16 Mar 2011 at 11:57