title: Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 12
body: <p>I tried to run this below code:</p>
  
  <pre><code>&lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
          &lt;title&gt;JSP Page&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;Hello World!&lt;/h1&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But the IDE show me an error:</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 12
      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)
  F:\Code\Netbean project\Smartphone Shop\nbproject\build-impl.xml:936: Java returned: 1
  BUILD FAILED (total time: 0 seconds)
  </code></pre>
  
  <p>How to fix this error? I used Netbeans 11.0 with Tomcat 9.0.</p>