You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matt Raible (JIRA)" <ji...@codehaus.org> on 2009/11/13 23:20:55 UTC
[jira] Commented: (MNG-4442) Classworlds launcher can't be found on
Mac OS X
[ http://jira.codehaus.org/browse/MNG-4442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198273#action_198273 ]
Matt Raible commented on MNG-4442:
----------------------------------
This worked for me:
sudo rm /usr/bin/mvn
source ~/.bashrc
> Classworlds launcher can't be found on Mac OS X
> -----------------------------------------------
>
> Key: MNG-4442
> URL: http://jira.codehaus.org/browse/MNG-4442
> 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: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira