Page 1 of 1

java.lang.NoClassDefFoundError

PostPosted: Tue May 01, 2012 6:35 pm
by esel
Hello,

I know that this error has been posted a few times, but the solutions described there did not work for me.

I've downloaded to serviio (0.6.2) server and unpacked the files to /home/esel/serviio-0.6.2. When I try to run the server I get this message:
  Code:
esel@esel-server:~/serviio-0.6.2> ./bin/serviio.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org.serviio.MediaServer
   at gnu.java.lang.MainThread.run(libgcj.so.12)
Caused by: java.lang.ClassNotFoundException: org.serviio.MediaServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/esel/serviio-0.6.2/config/], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.12)
   at java.lang.ClassLoader.loadClass(libgcj.so.12)
   at java.lang.ClassLoader.loadClass(libgcj.so.12)
   at gnu.java.lang.MainThread.run(libgcj.so.12)
esel@esel-server:~/serviio-0.6.2>


I don't know why this happens. Is there something wrong with the classpath? I'm running openSUSE 12.1 and i'm quite new to linux.

If I try the same thing with sudo I get no reply, also when I try the serviio-console.sh to start the console.

Re: java.lang.NoClassDefFoundError

PostPosted: Thu May 10, 2012 6:10 pm
by esel
Well it has been over a week now, and nobody replyed.

Is the problem too trivial?
Or is the problem to specific?
Or is it more likely that theres is something wrong with my installation?

Re: java.lang.NoClassDefFoundError

PostPosted: Thu May 10, 2012 7:51 pm
by zip