Usebean class attribute invalid

Jmnote (토론 | 기여)님의 2013년 5월 18일 (토) 22:56 판 (새 문서: {{테스트|윈도우7, 톰캣7, 이클립스 Juno Service Release 1}} {{미해결}} ==개요== ;usebean class attribute invalid ;The value for the useBean class attribute * is inval...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
45px 해결되지 않은 문제입니다.

1 개요

usebean class attribute invalid
The value for the useBean class attribute * is invalid.
  • 내가 만든 클래스를 useBean에서 사용하지 못하는 현상

2 원인

  • 톰캣이 해당 class를 못찾는 것
  • 이클립스 Dynamic Web Project 기본 설정은...
classes 폴더는 프로젝트/build 폴더 아래에 놓이게 됨
Project Explorer에서 build 폴더 아래에 있는 것을 숨김.
  • 톰캣이 useBean을 사용할 때 프로젝트/WebContent/WEB-INF/classes 를 참조한다고 하는데…
Default output folder를 바꿔봐도 안된다.
server.xml을 바꿔봐도 안된다.
  • 안될거야 아마

3 오류 메시지

5월 18, 2013 8:19:17 오후 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /jsp/showProductDetail.jsp (line: 3, column: 0) The value for the useBean class attribute to.ProductTO is invalid.
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:408)
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:149)
... (생략)

4 같이 보기

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}