Page 1 of 1

My mistake and/or wiki outdated?

PostPosted: Fri Dec 13, 2013 10:05 am
by DTigerBKK
Hi,

Just tried to see if I could try/test/rewrite some plugin, and got a fault from the very beginning:
- Just installed groovy; 1.8.9 is ok?
- Copied youtube (why not :-0) plugin
- changed the "pluginTest.bat" which should called a bat not an exe
and:
  Code:
"E:\Programs\groovy-1.8.9\bin\groovy.bat" -cp "C:\Program Files\Serviio\lib\serviio.jar";"C:\Program Files\Serviio\lib\slf4j-api.jar";"C:\Program Files\Serviio\lib\slf4j-log4j12.jar";"C:\Program Files\Serviio\lib\log4j.jar";"C:\Program Files\Serviio\lib\org.restlet.jar" "Youtube.groovy"
Caught: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger;
java.lang.NoClassDefFoundError: Lorg/slf4j/Logger;
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger


Any help would be appreciated, thanks!

Re: My mistake and/or wiki outdated?

PostPosted: Fri Dec 13, 2013 12:39 pm
by zip
try to wrap the whole -cp parameter in quotes, instead on all the entries separately

Re: My mistake and/or wiki outdated?

PostPosted: Fri Dec 13, 2013 1:25 pm
by DTigerBKK
You are totally right, THANKS... Was worried with space in classpath, but no trouble.

Will jump on it on my next free hours :D