• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

이런 오류가 뜨는데 타이핑이 잘못된건가요??

18.06.30 20:58 작성 조회수 124

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();

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!