This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 110241

Summary: Cannot compile JSP on JDK1.5.0
Product: javaee Reporter: Jiri Skrivanek <jskrivanek>
Component: JSPAssignee: Petr Pisl <ppisl>
Status: VERIFIED FIXED    
Severity: blocker CC: pjiricka
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Entire output log.

Description Jiri Skrivanek 2007-07-19 07:21:00 UTC
After fixing issue 105427 it is not possible to compile JSP on JDK1.5.0. It is high priority because it blocks UI commit
validation tests. To reporduce:

- start IDE with JDK1.5.0
- create web project
- try to compile single JSP file (F9) but it fails with the following message:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
        at java.lang.ClassLoader.defineClass1(Native Method)
...
        at org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:100)
D:\Development\builds\nbUserdir-20070719080422\WebApplication1\nbproject\build-impl.xml:442: The following error
occurred while executing this line:
D:\Development\builds\nbUserdir-20070719080422\WebApplication1\nbproject\build-impl.xml:423: Java returned: 1
Comment 1 Jiri Skrivanek 2007-07-19 07:21:36 UTC
Created attachment 45364 [details]
Entire output log.
Comment 2 Petr Jiricka 2007-07-19 12:09:02 UTC
Petre are you working on this?
Comment 3 Petr Pisl 2007-07-19 14:06:51 UTC
yes, I'm looking for a solution.
Comment 4 Petr Pisl 2007-07-19 15:00:13 UTC
Fixed in the trunk.
Comment 5 Jiri Skrivanek 2007-07-20 08:08:12 UTC
Verified.