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 - Cannot compile JSP on JDK1.5.0
Summary: Cannot compile JSP on JDK1.5.0
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-19 07:20 UTC by Jiri Skrivanek
Modified: 2007-07-20 08:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Entire output log. (2.19 KB, text/plain)
2007-07-19 07:21 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.