Bug#446008: java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException

Mykola Nikishov mn at mn.com.ua
Tue Oct 9 19:08:07 UTC 2007


Package: maven2
Version: 2.0.7-1
Severity: grave
Justification: renders package unusable

When running 'mvn':

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
	at java.lang.Class.privateGetPublicMethods(Class.java:2519)
	at java.lang.Class.getMethods(Class.java:1406)
	at org.codehaus.classworlds.Launcher.getEnhancedMainMethod(Launcher.java:195)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:294)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

java - status is manual.
 link currently points to /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java - priority 53
 slave java.1.gz: /usr/lib/jvm/java-1.5.0-sun/jre/man/man1/java.1.gz
/usr/lib/jvm/java-6-sun/jre/bin/java - priority 63
 slave java.1.gz: /usr/lib/jvm/java-6-sun/jre/man/man1/java.1.gz
Current `best' version is /usr/lib/jvm/java-6-sun/jre/bin/java.

Changing to Java 6 doesn't make any difference.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-mn.desktop (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages maven2 depends on:
ii  libcommons-cli-java      1.0-9           API for working with the command l
ii  libdoxia-java            1.0-alpha-7-1   a powerful content generation fram
ii  libjsch-java             0.1.34ds1-1     java secure channel
ii  libjtidy-java            7+svn20070309-1 a Java port of HTML Tidy, a HTML s
ii  libplexus-interactivity- 1.0-alpha-6-2   interactivity API for the Plexus f
ii  libwagon-java            1.0-beta-2-1    tools to manage Maven artifacts an
ii  libxalan2-java           2.7.0-5         XSL Transformations (XSLT) process

maven2 recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list