org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 2 in the jsp file: /numguess.jspGenerated servlet error:
[javac] Compiling 1 source fileC:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:7: package num does not exist
import num.NumberGuessBean;
^
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:44: package num does not exist
num.NumberGuessBean numguess = null;
^An error occurred at line: 2 in the jsp file: /numguess.jspGenerated servlet error:
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:46: package num does not exist
numguess = (num.NumberGuessBean) pageContext.getAttribute("numguess", PageContext.SESSION_SCOPE);
^An error occurred at line: 2 in the jsp file: /numguess.jspGenerated servlet error:
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:49: package num does not exist
numguess = (num.NumberGuessBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "num.NumberGuessBean");
^
4 errors
[javac] Compiling 1 source fileC:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:7: package num does not exist
import num.NumberGuessBean;
^
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:44: package num does not exist
num.NumberGuessBean numguess = null;
^An error occurred at line: 2 in the jsp file: /numguess.jspGenerated servlet error:
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:46: package num does not exist
numguess = (num.NumberGuessBean) pageContext.getAttribute("numguess", PageContext.SESSION_SCOPE);
^An error occurred at line: 2 in the jsp file: /numguess.jspGenerated servlet error:
C:\jakarta-tomcat\work\Standalone\localhost\_\numguess_jsp.java:49: package num does not exist
numguess = (num.NumberGuessBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "num.NumberGuessBean");
^
4 errors
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货