maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <>
Subject [jira] Closed: (MNG-4442) Classworlds launcher can't be found on Mac OS X
Date Fri, 13 Nov 2009 21:59:55 GMT


Benjamin Bentmann closed MNG-4442.

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

We have Maven 3.0 running fine our the [Ubuntu box of the CI system|,label=ubuntu/]
and I just double-checked that the run scripts from the binary distros, i.e. {{bin/mvn}} and
{{bin/mvnDebug}}, read
-classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \
i.e. they look for the correct JAR.

bq. Renaming ${M2_HOME}/boot/plexus-classworlds-2.2.2.jar to ${M2_HOME}/boot/classworlds-2.2.2.jar
fixes the issue
This is likely caused by the invocation of a wrong run script, i.e. a {{mvn}} script from
a Maven 2.x installation.

> Classworlds launcher can't be found on Mac OS X
> -----------------------------------------------
>                 Key: MNG-4442
>                 URL:
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 3.0-alpha-3
>         Environment: Mac OS X 10.5.8
>            Reporter: Tiago Fernandez
>            Assignee: Benjamin Bentmann
> After installing Maven 3.0-alpha-3 on Windows I can check its version without any problem,
but that's not the case for OS X:
> MacBook-Pro:~ tiago$ mvn -v
> Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
> Renaming ${M2_HOME}/boot/plexus-classworlds-2.2.2.jar to ${M2_HOME}/boot/classworlds-2.2.2.jar
fixes the issue, but I am sure this ain't the proper fix.
> Possibly related issue: MNG-2692

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message