org.apache.catalina.core.StandardWrapperValve invoke

org.apache.catalina.core.StandardWrapperValve invoke
后台:
2012-12-9 11:51:47 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [jsp] in context with path [/shopping] threw exception [Unable to compile class for JSP:

An error occurred at line: 12 in the jsp file: /WebRoot/register.jsp
User cannot be resolved to a type
9:       String password = request.getParameter("password");
10:       String phone = request.getParameter("phone");
11:       String addr = request.getParameter("addr");
12:       User u = new User();
13:       u.setUsername(username);
14:       u.setPassword(password);
15:       u.setPhone(phone);

目测没导入User类 <%@ page import="" %>

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有