[seam-issues] [JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Thu Jun 20 05:24:20 EDT 2013


Marek Schmidt created JBSEAM-5116:
-------------------------------------

             Summary: seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
                 Key: JBSEAM-5116
                 URL: https://issues.jboss.org/browse/JBSEAM-5116
             Project: Seam 2
          Issue Type: Bug
          Components: Platform interoperability
    Affects Versions: 2.3.1.CR1
         Environment: Windows 2008
            Reporter: Marek Schmidt


seam-gen fails on windows with

seam.bat setup 
                        
SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.tools.ant.launch.Launcher.  Program will exit.
Exception in thread "main"

The problem is likely that the seam-gen library move was not updated in the seam.bat

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list