Details
-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0_CR3
-
None
-
Microsoft Windows Server 2003 Enterprise Edition x64 Service Pack 2
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
-
-
Documented as Resolved Issue
Description
this issue is actually for CR3.5 (tested with http://download.devel.redhat.com/devel/candidates/JBEAP5.0.0/JBEAP-5.1.0-CR3.5/jboss-eap-installer-5.1.0-CR3.5.jar)
the shortcut Start Menu > Deploy Hotel Booking Seam Demo doesn't work after install
it's target is
C:\mlinhard\installed-jboss\jboss-eap-5.1\jboss-as\scripts\launch-deploy.bat "C:\mlinhard\installed-jboss" Booking
where as in "Deploy DVD Store Seam Demo" shortcut it's
C:\mlinhard\installed-jboss\jboss-eap-5.1\jboss-as\scripts\launch-deploy.bat "C:\mlinhard\installed-jboss\jboss-eap-5.1" DVD-Store
(the DVD-Store demo works well)
the error you see then is:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Lau
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
because of the wrong ant classpath.