[
http://jira.codehaus.org/browse/MGWT-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nicolas de loof closed MGWT-35.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.1
Have this exact same configuration and works fine with latest SNAPSHOT :
set
CLASSPATH="D:\java\gwt-maven-plugin\target\it\gwt-compile\src\main\java";"D:\java\gwt-maven-plugin\target\it\gwt-compile\src\main\resources";"D:\java\gwt-maven-plugin\target\it\gwt-compile\target\classes";"C:\Documents
and
Settings\admin\.m2\repository\com\google\gwt\gwt-user\1.6.4\gwt-user-1.6.4.jar";"C:\Documents
and
Settings\admin\.m2\repository\com\google\gwt\gwt-dev\1.6.4\gwt-dev-1.6.4-windows.jar"
"C:\Program Files\Java\jdk1.6.0_10\jre\bin\java" -Xmx512m -cp %CLASSPATH%
com.google.gwt.dev.HostedMode -gen
"D:\java\gwt-maven-plugin\target\it\gwt-compile\target\.generated" -logLevel
INFO -style OBF -port 8888 -war
"D:\java\gwt-maven-plugin\target\it\gwt-compile\src\main\webapp" -startupUrl
"hello/Hello.html" com.google.gwt.sample.hello.Hello
> 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