Attempting to run a very simple JSP (using context menu for the file from the Project window to run a single file - a SHIFT + F6 action) I ran in to the following error.

Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 10
    at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724)
    at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:80)
    at org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:119) C:\murach\servlet_and_jsp\netbeans\ex_starts\testApp\nbproject\build-impl.xml:936: Java returned: 1

A web search showed a similar error occurred back in earlier versions of NetBeans (6 and 7) where the IDE was attempting to use a version of the compiler not on the system or mismatched compiler and source. In my case it says it is attempting to use version 10 (from the first line of the error).

My platform is Win 10, NB 9, JDK 10, Tomcat 8.5

Do I have a problem with one of the Plugins or a configuration / setup issue?

Thanks for your help,

Bob Senkewicz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to