Sorry didn't meant to say "Jetty" in the last email, more that Java 8.2 was
released before Java 9 - Hence some 8.2 plugins might not work.

Have you tried cloning Apache NetBeans, building from source and attempting
the same there?

John

On Fri, 21 Sep 2018 at 15:50, John McDonnell <mcdonnell.j...@gmail.com>
wrote:

> Hi Bob,
>
> I don't know enough about JSP and how it works with Java 9 (or any Java
> for that matter), but from a quick google, and some NetBeans knowledge, I
> believe it doesn't work because the version of Jetty in the 8.2 Java EE
> plugins was from before java 9 was released (NetBeans 8.2 - 03/10/16 and
> Java 9 - 27/07/17).
>
> You might want to raise a JIRA ticket[1] against NetBeans, to help ensure
> Java 9 support when Java EE is enabled in Apache NetBeans.
>
> Regards
>
> [1]: https://issues.apache.org/jira/projects/NETBEANS/issues
>
> On Fri, 21 Sep 2018 at 14:27, Bob Senkewicz <s...@optonline.net> wrote:
>
>> 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