Open GoogleCodeExporter opened 8 years ago
Nevermind. I forgot to run ant to build the .jar first. It's time for bed.
Original comment by joshsimerman
on 20 Nov 2009 at 3:36
I build the slug from the svn, running slug.sh gives me these errors, any help ?
Exception in thread "Thread-2" java.lang.RuntimeException:
java.lang.ClassNotFoundException:
com.ldodds.slug.http.rdf.ModelDependentConsumerConsumer
at com.ldodds.slug.Scutter.run(Scutter.java:159)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException:
com.ldodds.slug.http.rdf.ModelDependentConsumerConsumer
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at
com.ldodds.slug.framework.config.ComponentFactory.instantiateObject(ComponentFac
tory.java:72)
at
com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.j
ava:54)
at
com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.j
ava:128)
at
com.ldodds.slug.framework.config.ComponentFactory.instantiateComponentsFor(Compo
nentFactory.java:159)
at com.ldodds.slug.Scutter.run(Scutter.java:122)
... 1 more
Original comment by skbohra...@gmail.com
on 4 Mar 2010 at 5:11
ditto,perhaps some class file is missing or something else bcoz the location of
error
in the message have a class ModelDependentConsumer but not
ModelDependentConsumerConsumer
Original comment by sanjeev1...@gmail.com
on 21 Apr 2010 at 6:22
hey,got it! u will need to modify your configure.rdf file simply replace
modeldependentconsumerconsumer with modeldependentconsumer
Original comment by sanjeev1...@gmail.com
on 11 May 2010 at 9:11
I still got an error:
************************
Exception in thread "Thread-2" java.lang.RuntimeException:
java.lang.InstantiationException
at com.ldodds.slug.Scutter.run(Scutter.java:158)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.InstantiationException
at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.ldodds.slug.framework.config.ComponentFactory.instantiateObject(ComponentFactory.java:74)
at com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.java:54)
at com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.java:128)
at com.ldodds.slug.framework.config.ComponentFactory.instantiateComponentsFor(ComponentFactory.java:159)
at com.ldodds.slug.Scutter.run(Scutter.java:121)
... 1 more
********************************
Can anyone help me on this?
Thanks in advanced.
Original comment by dndo...@gmail.com
on 15 Oct 2012 at 5:52
ModelDependentConsumer is an abstract class thus you get InstantiationException
when calling newInstance()
config.rdf should use some if its subclasses:
I believe the author's intent at that point was to use TaskGeneratingConsumer
(as the consumer resource s called ref-follower)
Original comment by Alejandr...@gmail.com
on 8 May 2013 at 1:50
Original issue reported on code.google.com by
joshsimerman
on 20 Nov 2009 at 3:30