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.
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)
Changing the priority because workaround should be easy as I understand. I will try to look at it. Thanks for reporting.
moving opened issues from TM <= 6.1 to TM=Dev
Duplicate of issue #135568 which is already fixed. Thanks for reporting. *** This issue has been marked as a duplicate of 135568 ***