java.lang.NoClassDefFoundError: com/google/gwt/dev/Compiler when running plugin
on Mac
--------------------------------------------------------------------------------------
Key: MGWT-142
URL: http://jira.codehaus.org/browse/MGWT-142
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 1.1
Environment: Mac OS 10.6.2 (Snow Leopard)
Reporter: Tom van Zummeren
Attachments: Disabled_quoted_arguments_on_Mac.patch
In the attached patch, I disabled quoted arguments when running the GWT plugin
on Mac. This avoids screwing up the classpath, and therefore avoids getting a
NoClassDefFoundError for the GWT Compiler class.
To clarify, the java command the plugin should be executing should have the
classpath like this:
-classpath "library1.jar":"library2.jar":"library3.jar"
but instead it executes the java command with this classpath argument:
-classpath '"library1.jar":"library2.jar":"library3.jar"'
(notice the single quotes at the start and the end) On Mac this results in none
of the jars being added to the classpath.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email