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 202250

Summary: Unable to compile web project when set up as source level 7
Product: javaee Reporter: javydreamercsw <javydreamercsw>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description javydreamercsw 2011-09-16 19:52:37 UTC
Product Version = NetBeans IDE Dev (Build 201109141017)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

I get this error. If set back to 5 or 6 everything works:

compile-jsps:
Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 1.7
	at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:708)
	at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:80)
Comment 1 Jiri Skrivanek 2011-09-19 08:55:52 UTC

*** This bug has been marked as a duplicate of bug 201414 ***