Bug#731740: java.lang.NoClassDefFoundError: org/sikuli/basics/MultiFrame
Gilles Filippini
pini at debian.org
Mon Dec 9 12:09:30 UTC 2013
Hi,
Thanks for your interest in Sikuli!
Vincent Bernat a écrit , Le 09/12/2013 10:21:
> Package: sikuli-ide
> Version: 1.0.1-1
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
>
> I just installed sikuli-ide package from experimental and gets this
> error when running it:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: org/sikuli/basics/MultiFrame
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
> at java.lang.Class.getMethod0(Class.java:2764)
> at java.lang.Class.getMethod(Class.java:1653)
> at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
> Caused by: java.lang.ClassNotFoundException: org.sikuli.basics.MultiFrame
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 6 more
>
> I only have one JDK installed:
>
> Name: java
> Link: /usr/bin/java
> Slaves:
> java.1.gz /usr/share/man/man1/java.1.gz
> Status: auto
> Best: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
> Value: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
>
> Alternative: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
> Priority: 1071
> Slaves:
> java.1.gz /usr/lib/jvm/java-7-openjdk-amd64/jre/man/man1/java.1.gz
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.12-trunk-amd64 (SMP w/8 CPU cores)
> Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages sikuli-ide depends on:
> ii default-jre [java6-runtime] 1:1.7-50
> ii junit 3.8.2-8
> ii libcommons-cli-java 1.2-3
> ii libjgoodies-common-java 1.4.0-2
> ii libjgoodies-forms-java 1.6.0-4
> ii libjson-simple-java 1.1.1-1
> ii libsikuli-script-java 1.0~x~rc3.tesseract3-dfsg1-7
Here is the problem ^^.
I should have forced a versioned dependency /o\ Would you mind giving
another try after installing libsikuli-script-java=1.0.1-1 and
libsikuli-script-jni=1.0.1-1?
You may encounter other NoClassDefFound errors which are solved by
adding
"/usr/share/java/asm3-commons.jar:/usr/share/java/antlr3-runtime.jar:/usr/share/java/jaffl.jar:/usr/share/java/jnr-posix.jar:/usr/share/java/constantine.jar:/usr/share/java/guava.jar:"
to the classpath into the launchers /usr/bin/sikuli*.
Thanks,
_g.
More information about the pkg-java-maintainers
mailing list