type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:6: package com.wxpn.tutorial.db does not exist
import com.wxpn.tutorial.db.DB;
^
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:7: package com.wxpn.tutorial.db does not exist
import com.wxpn.tutorial.db.ConnectionPool;
^
An error occurred at line: 14 in the jsp file: /LoginProject/LoginProject/WebContent/verifylogin.jsp
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:70: cannot resolve symbol
symbol : class ConnectionPool
location: class org.apache.jsp.LoginProject.LoginProject.WebContent.verifylogin_jsp
ConnectionPool connPool = DB.getConnPool();
^
An error occurred at line: 14 in the jsp file: /LoginProject/LoginProject/WebContent/verifylogin.jsp
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:70: cannot resolve symbol
symbol : variable DB
location: class org.apache.jsp.LoginProject.LoginProject.WebContent.verifylogin_jsp
ConnectionPool connPool = DB.getConnPool();
^
4 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.