FAQ  •  Register  •  Login

My mistake and/or wiki outdated?

<<

DTigerBKK

User avatar

Serviio newbie

Posts: 13

Joined: Sun Sep 09, 2012 12:21 am

Location: Bangkok

Post Fri Dec 13, 2013 10:05 am

My mistake and/or wiki outdated?

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!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Dec 13, 2013 12:39 pm

Re: My mistake and/or wiki outdated?

try to wrap the whole -cp parameter in quotes, instead on all the entries separately
<<

DTigerBKK

User avatar

Serviio newbie

Posts: 13

Joined: Sun Sep 09, 2012 12:21 am

Location: Bangkok

Post Fri Dec 13, 2013 1:25 pm

Re: My mistake and/or wiki outdated?

You are totally right, THANKS... Was worried with space in classpath, but no trouble.

Will jump on it on my next free hours :D

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 13 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.