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 128232 - Test compiling JSPs is impossible with JDK 6 settings.
Summary: Test compiling JSPs is impossible with JDK 6 settings.
Status: RESOLVED DUPLICATE of bug 135568
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-23 20:18 UTC by jiai
Modified: 2008-06-19 17:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jiai 2008-02-23 20:18:48 UTC
When test-compiling JSP pages with JDK 6 settings (Project - Properties - Source/Binary Format JDK 1.6) the Jasper
component gives an exception when "Test compile all JSP files during builds" is selected:

Exception in thread "main" java.lang.IllegalArgumentException: PWC6311: compilerTargetVM 1.6 too high
        at org.apache.jasper.JspC.setCompilerTargetVM(JspC.java:686)
        at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:74)

It is not possible to test-compile JSP with JDK 6 seetings!

Product Version: NetBeans IDE 6.0.1 (Build 200801291616) (All current patches applied)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
Comment 1 Tomas Mysik 2008-02-26 08:26:24 UTC
Changing the priority because workaround should be easy as I understand.
I will try to look at it. Thanks for reporting.
Comment 2 Jiri Prox 2008-04-11 01:05:29 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 3 Tomas Mysik 2008-06-19 17:02:14 UTC
Duplicate of issue #135568 which is already fixed. Thanks for reporting.


*** This issue has been marked as a duplicate of 135568 ***