我用 Netbeans 用 Java 制作了一个应用程序,但是当我尝试编译它(构建)时显示一条错误消息:
Exception in thread "main" java.lang.IllegalArgumentException: PWC6309: Illegal compilerSourceVM: 13
at org.apache.jasper.JspC.setCompilerSourceVM(JspC.java:724)
at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:55)
at org.netbeans.modules.web.project.ant.JspCSingle.main(JspCSingle.java:94)
C:\S57000\Lab1\JSP\nbproject\build-impl.xml:969: The following error occurred while executing this line:
C:\S57000\Lab1\JSP\nbproject\build-impl.xml:944: Java returned: 1
BUILD FAILED (total time: 0 seconds)
显示错误的行
第 969 行: <antcall target="-do-compile-single-jsp"/>
第 944 行: <java classname="org.netbeans.modules.web.project.ant.JspCSingle" failonerror="true" fork="true">
这是我的代码”
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>S57000 Page</title>
</head>
<body>
<h1>Welcome To World!</h1>
</body>
</html>