[
http://jira.codehaus.org/browse/MGWT-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217316#action_217316
]
Pavel Genevski commented on MGWT-35:
------------------------------------
I can confirm that I still observe the problem with gwt-maven-plugin 1.2, which
as of now seems to be the newest version available on the central repo
(http://repo2.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/). The root
cause is that the plugin does not handle spaces in the path correctly. When I
changed the Hudson home directory to a path that does not contain spaces
everything worked fine.
> java.lang.ClassNotFoundException on windows xp and maven repo in default
> location
> ---------------------------------------------------------------------------------
>
> Key: MGWT-35
> URL: http://jira.codehaus.org/browse/MGWT-35
> Project: Maven 2.x GWT Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: mvn -v
> Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
> Java version: 1.6.0_11
> Java home: f:\devtools\jdk1.6.0_11\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: David Boon
> Assignee: nicolas de loof
> Priority: Minor
> Fix For: 1.1
>
> Attachments: ClasspathBuilder.diff, run.cmd.patch, run_orig.cmd
>
>
> When your maven repository is installed in "c:/Documents and
> Settings/username/.m2" You should get this error.
> INFO] [gwt:run]
> [INFO] using GWT jars for specified version 1.6.2
> [INFO] Unpack native libraries required to run GWT
> [INFO] source web.xml present - f:\project\src\main\webapp\WEB-INF\web.xml -
> using it with embedded Tomcat
> [INFO] establishing classpath list (scope = runtime)
> [ERROR] java.lang.NoClassDefFoundError: and
> [ERROR] Caused by: java.lang.ClassNotFoundException: and
> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> [ERROR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> [ERROR] Could not find the main class: and. Program will exit.
> [ERROR] Exception in thread "main"
--
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