aboi-83 opened a new issue, #6606:
URL: https://github.com/apache/netbeans/issues/6606
### Apache NetBeans version
Apache NetBeans 19
### What happened
After migrating my project on java 11, I can't build the project with the
option "Test compile all JSP files during build".
Whit this flag off the build ends without errors. But with flag on, I get
the error:
```
Exception in thread "main" java.lang.IllegalArgumentException: PWC6309:
Illegal compilerSourceVM: 11
at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:684)
at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:55)
C:\Users\andre\Work\Projects\EramCore2\Eram\nbproject\build-impl.xml:927:
Java returned: 1
BUILD FAILED (total time: 15 seconds)
```
My java distribution is Corretto-11.0.12.7.1
### How to reproduce
1. Create a new project: Java with Ant -> JavaWeb -> WebApplication
2. Select Tomcat as target server (in my case Tomcat 9.0.82)
3. Select Java EE 8 Web as Java EE Version
4. Complete the wizard
6. Right click on project and select properties: enable "Test compile all
JSP files during build" in Build -> Compiling
5. Create a new jsp
6. Build the project
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11
### JDK
JDK 11
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists