做毕设遇上这么一个问题:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 7 in the jsp file: /index.jsp
validateUser cannot be resolved to a type
4:
5: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
6:
7: <jsp:useBean id="validate" scope="request" class="validateUser">
8: <jsp:setProperty name="validate" property="*"/>
9: </jsp:useBean>
10: <% if (validate.vUser()){
An error occurred at line: 7 in the jsp file: /index.jsp
validateUser cannot be resolved to a type
4:
5: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
6:
7: <jsp:useBean id="validate" scope="request" class="validateUser">
8: <jsp:setProperty name="validate" property="*"/>
9: </jsp:useBean>
10: <% if (validate.vUser()){
An error occurred at line: 7 in the jsp file: /index.jsp
validateUser cannot be resolved to a type
4:
5: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
6:
7: <jsp:useBean id="validate" scope="request" class="validateUser">
8: <jsp:setProperty name="validate" property="*"/>
9: </jsp:useBean>
10: <% if (validate.vUser()){
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
validateUser是验证用户的程序。放在src目录下。这报错是什么意思?
搞不懂搞不懂了。。。兄弟们帮忙啊