Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
On Sun, Sep 25, 2011 at 09:59 +0200, Torsten Werner wrote: > Okay, the bug is in /usr/bin/lein. The line 66 must be changed from > > CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3.jar" > > to > > CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3-all.jar" Thank you for the investigation which has been most helpful! I am currently on vacation, but back soon and will fix the issue ASAP. > I am not able to commit the change into the git repo because I do not > understand the vcs layout. It looks like that I have to rebase the > patch-queue branch but pushing a rebased branch is a bad idea. Please > explain the workflow of modifying the source code in README.source. > BTW, I prefer the git-buildpackage layout. I guess that this should be treated as an important bug and I will try to follow the GIT practices that have been proposed/formulated on [0] in order to ease cooperation. Thank you all for the detailed report and discussion. [0] http://wiki.debian.org/Java/JavaGit -- Wolodja 4096R/CAF14EFC 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC signature.asc Description: Digital signature
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
> CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar" Or, rely on Class-Path embedded in clojure-1.2.jar's manifest. In this case, /usr/bin/lein seems to have to use exec $RLWRAP $JAVA_CMD -cp "$CLOJURE_JAR" instead of -Xbootclasspath/a:"$CLOJURE_JAR" Daigo -- Daigo Moriwaki -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
Torsten, On Sun, Sep 25, 2011 at 4:59 PM, Torsten Werner wrote: > Okay, the bug is in /usr/bin/lein. The line 66 must be changed from > > CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3.jar" > > to > > CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3-all.jar" CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3.jar:/usr/share/java/asm3-commons.jar" fixes the error. Thank you for the investigation. Regards, Daigo -- Daigo Moriwaki -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
Okay, the bug is in /usr/bin/lein. The line 66 must be changed from CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3.jar" to CLOJURE_JAR="/usr/share/java/clojure-1.2.jar:/usr/share/java/asm3-all.jar" I am not able to commit the change into the git repo because I do not understand the vcs layout. It looks like that I have to rebase the patch-queue branch but pushing a rebased branch is a bad idea. Please explain the workflow of modifying the source code in README.source. BTW, I prefer the git-buildpackage layout. Cheers, Torsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
On Sun, Sep 25, 2011 at 9:31 AM, Torsten Werner wrote: > asm3-full.jar sorry, please s/asm3-full/asm3-all/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
Hi, On Sun, Sep 25, 2011 at 4:34 AM, Daigo Moriwaki wrote: > After upgrading openjdk to the new one in Sid, Leiningen does not work. that is probably not the cause. > Caused by: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method I have fixed the asm3 package recently. Sorry for that, because it triggers some packaging bugs. The asm3.jar has been a symlink to asm3-full.jar in the past but it is now the real core library. Some packages relied on getting the full library by referring to the core library only. I suspect the current bug is in clojure. I'll look at it. Cheers, Torsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#642795: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method
Package: leiningen Version: 1.6.1-1 Severity: important After upgrading openjdk to the new one in Sid, Leiningen does not work. % lein help Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at clojure.lang.RT.loadClassForName(RT.java:1578) at clojure.lang.RT.load(RT.java:399) at clojure.lang.RT.load(RT.java:381) at clojure.core$load$fn__4519.invoke(core.clj:4915) at clojure.core$load.doInvoke(core.clj:4914) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core__init.load(Unknown Source) at clojure.core__init.(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at clojure.lang.RT.loadClassForName(RT.java:1578) at clojure.lang.RT.load(RT.java:399) at clojure.lang.RT.load(RT.java:381) at clojure.lang.RT.doInit(RT.java:416) at clojure.lang.RT.(RT.java:302) at clojure.main.(main.java:20) Caused by: java.lang.ClassNotFoundException: org/objectweb/asm/commons/Method at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at clojure.core_proxy__init.load(Unknown Source) at clojure.core_proxy__init.(Unknown Source) ... 18 more Could not find the main class: clojure.main. Program will exit. % dpkg -l openjdk\* | grep "^ii" ii openjdk-6-jdk6b23~pre9-1 OpenJDK Development Kit (JDK) ii openjdk-6-jre6b23~pre9-1 OpenJDK Java runtime, using Hotspot JIT ii openjdk-6-jre-headless 6b23~pre9-1 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-6-jre-lib6b23~pre9-1 OpenJDK Java runtime (architecture independent libraries) Regards, Daigo -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35.4-rscloud (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages leiningen depends on: ii ant 1.8.2-3 ii clojure1.21.2.1+dfsg-3 ii libbackport-util-concurrent-java 3.1-3 ii libclassworlds-java 1.1-final-5 ii libclucy-clojure 0.2.2-2 ii libjaxp1.3-java 1.3.05-1 ii liblucene2-java 2.9.4+ds1-2 ii libmaven-ant-tasks-java 2.0.10-1 ii libmaven2-core-java 2.2.1-6 ii libplexus-container-default-java 1.0-alpha-9-stable-1-6 ii libplexus-interpolation-java 1.11-3 ii libplexus-utils-java 1:1.5.15-4 ii librobert-hooke-clojure 1.1.2-1 ii libwagon-java 1.0.0-1 ii openjdk-6-jre 6b23~pre9-1 Versions of packages leiningen recommends: pn clojure-contrib 1.2.0-2 pn rlwrap leiningen suggests no packages. -- no debconf information -- Daigo Moriwaki -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org