org.apache.jasper.JasperException: Unable to compile class for JSP
안녕하세요.
리눅스에 웹프로젝트를 올리는 과정에서 어려움이 있어서 도움 좀 부탁드립니다.
만들어진 웹프로젝트를 서버에 올렸는데, 디렉토리는 아래와 같습니다.
/home
ㄴ/test
ㄴindex.jsp
ㄴfront
ㄴjs
ㄴcss
ㄴimages
ㄴWEB-INF
자바 클래스파일들을 임포트한 어느 jsp 파일을 index.jsp 가 위치한 /home/test 경로에 두면 정상적으로 페이지가 나오는데,
/home/test/front 에 두면 아래처럼 에러로그가 뜹니다.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 10 in the generated java file
Only a type can be imported. test.common.util.string.StringUtil resolves to a package
An error occurred at line: 11 in the generated java file
Only a type can be imported. test.common.util.string.PagingUtil resolves to a package
An error occurred at line: 12 in the generated java file
Only a type can be imported. test.common.admin.action.AdminManager resolves to a package
An error occurred at line: 13 in the generated java file
Only a type can be imported. test.common.admin.model.AdminInfoModel resolves to a package
An error occurred at line: 14 in the generated java file
Only a type can be imported. test.common.admin.model.AuthCodeModel resolves to a package
....
index.jsp 가 있는 기본경로가 아닌 곳에서는 저런 에러가 뜨네요.
무엇이 잘못된 걸까요? 조언 부탁드리겠습니다.
댓글 달기