Bug 975787 - Seam2.3 seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
Summary: Seam2.3 seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launc...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: 2.3.0
Assignee: Marek Novotny
QA Contact: Marek Schmidt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-19 11:02 UTC by Marek Schmidt
Modified: 2013-07-16 11:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-16 11:08:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBSEAM-5116 0 Critical Resolved seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows 2013-07-16 11:08:16 UTC

Description Marek Schmidt 2013-06-19 11:02:40 UTC
Description of problem:

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

Version-Release number of selected component (if applicable):
WFK 2.3.0.ER1

Comment 2 Marek Novotny 2013-06-19 17:12:41 UTC
fixed by https://source.jboss.org/changelog/Seam?cs=15572

Comment 4 Tomas Remes 2013-06-26 14:08:01 UTC
Verified in 2.3.0.CR1 release.

Comment 5 JBoss JIRA Server 2013-07-04 16:41:21 UTC
Marek Novotny <mnovotny> updated the status of jira JBSEAM-5116 to Resolved

Comment 6 JBoss JIRA Server 2013-07-04 16:41:21 UTC
Marek Novotny <mnovotny> made a comment on jira JBSEAM-5116

fixed


Note You need to log in before you can comment on or make changes to this bug.