Your message dated Sun, 18 Dec 2011 16:10:55 +0100
with message-id <201112181610.56288.draz...@drazzib.com>
and subject line Re: maven2: Maven2 relies on various things...
has caused the Debian Bug report #602521,
regarding maven2: Maven2 relies on various things...
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
602521: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602521
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: maven2
Version: 2.0.9-2
Severity: important
Trying to run maven for the first time, I get the following
palfrey@missfun:[/tmp] mvn archetype:create \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \
-DartifactId=my-app
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.codehaus.classworlds.Launcher. Program will
exit.
Installing libclassworlds-java gets me to
palfrey@missfun:[/tmp] mvn archetype:create \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \
-DartifactId=my-app
---------------------------------------------------
constituent[0]: file:/usr/share/maven2/lib/wagon-provider-api.jar
constituent[1]: file:/usr/share/maven2/lib/plexus-interactivity-api.jar
constituent[2]: file:/usr/share/maven2/lib/jtidy.jar
constituent[3]: file:/usr/share/maven2/lib/plexus-container-default.jar
constituent[4]: file:/usr/share/maven2/lib/maven2.jar
constituent[5]: file:/usr/share/maven2/lib/doxia-sink-api.jar
constituent[6]: file:/usr/share/maven2/lib/commons-cli.jar
constituent[7]: file:/usr/share/maven2/lib/wagon-file.jar
constituent[8]: file:/usr/share/maven2/lib/plexus-utils.jar
constituent[9]: file:/usr/share/maven2/lib/wagon-http-shared.jar
constituent[10]: file:/usr/share/maven2/lib/wagon-ssh-external.jar
constituent[11]: file:/usr/share/maven2/lib/wagon-ssh-common.jar
constituent[12]: file:/usr/share/maven2/lib/wagon-ssh.jar
constituent[13]: file:/usr/share/maven2/lib/jsch.jar
constituent[14]: file:/usr/share/maven2/lib/xml-apis.jar
constituent[15]: file:/usr/share/maven2/lib/wagon-http-lightweight.jar
---------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/plexus/embed/Embedder
at org.apache.maven.cli.MavenCli.main(MavenCli.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
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)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.embed.Embedder
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
At which point I gave up and upgraded maven2 to 2.2.1-5, which seemed to
sort out things...
-- System Information:
Debian Release: squeeze/sid
APT prefers stable
APT policy: (700, 'stable'), (690, 'testing'), (680, 'unstable'), (670,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven2 depends on:
ii libcommons-cli-java 1.2-3 API for working with the command l
ii libdoxia-java 1.1.2-1 a powerful content generation fram
ii libjsch-java 0.1.42-2 pure Java implementation of the SS
ii libjtidy-java 7+svn20070309-4 a Java port of HTML Tidy, a HTML s
ii libplexus-interactivity- 1.0-alpha-6-5 interactivity API for the Plexus f
ii libplexus-utils-java 1:1.5.15-2 utilities for the Plexus framework
ii libwagon-java 1.0-beta-6-2 tools to manage Maven artifacts an
ii libxalan2-java 2.7.1-5 XSL Transformations (XSLT) process
maven2 recommends no packages.
maven2 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.2.1-5
Fixed since 2.2.1-5
--
Damien
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
debian-j...@lists.debian.org for discussions and questions.