18.06.30 20:58 작성
·
168
0
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [14] in the generated java file: [D:UsersWH_Laptopeclipse-workspace.metadata.pluginsorg.eclipse.wst.server.coretmp1workCatalinalocalhostHello_WorldorgapachejspuserJoinAction_jsp.java]
Only a type can be imported. user.UserDTO resolves to a package
An error occurred at line: [15] in the generated java file: [D:UsersWH_Laptopeclipse-workspace.metadata.pluginsorg.eclipse.wst.server.coretmp1workCatalinalocalhostHello_WorldorgapachejspuserJoinAction_jsp.java]
Only a type can be imported. user.UserDAO resolves to a package
An error occurred at line: [24] in the jsp file: [/userJoinAction.jsp]
UserDAO cannot be resolved to a type
21: script.close();
22: return;
23: }
24: UserDAO userDAO = new UserDAO();
25: int result = userDAO.join(userID, userPassword);
26: if(result == 1) {
27: PrintWriter script = response.getWriter();
An error occurred at line: [24] in the jsp file: [/userJoinAction.jsp]
UserDAO cannot be resolved to a type
21: script.close();
22: return;
23: }
24: UserDAO userDAO = new UserDAO();
25: int result = userDAO.join(userID, userPassword);
26: if(result == 1) {
27: PrintWriter script = response.getWriter();
답변