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
            Priority: Minor
         Attachments: run.cmd.patch

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


Reply via email to