프로젝트 네임 변경 후 Web.xml 오류 부분
- 작성자 :
- 김*하
- 작성일 :
- 2014-03-07 16:59:18
- 조회수 :
- 2,809
- 구분 :
- 실행환경
- 진행상태 :
- 완료
Q
원문링크
http://open.egovframe.kr/cop/bbs/selectBoardArticle.do?bbsId=BBSMSTR_000000000013&nttId=11394
안녕하십니까.
프로젝트네임 변경 후 web.xml 이 다음과 같은 오류가 나옵니다.
오류는 다음과 같으며, web.xml 파일은 오류 다음 라인에 붙여넣겠습니다.
--- error
Multiple annotations found at this line:
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'javaee:display-name'. One of
'{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/
xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param,
"http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/
j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://
java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/
ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config,
"http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://
java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/
j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://
java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/
ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/
j2ee":locale-encoding-mapping-list}' is expected.
------------- javaee 삭제후
javaee 부분을 삭제하여 runserver 를 실행하면 아래와 같은 오류가 발생합니다.
3월 07, 2014 9:33:29 오전 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter HTMLTagFilter
java.lang.ClassNotFoundException: egovframework.com.cmm.filter.HTMLTagFilter
...
http://open.egovframe.kr/cop/bbs/selectBoardArticle.do?bbsId=BBSMSTR_000000000013&nttId=11394
안녕하십니까.
프로젝트네임 변경 후 web.xml 이 다음과 같은 오류가 나옵니다.
오류는 다음과 같으며, web.xml 파일은 오류 다음 라인에 붙여넣겠습니다.
--- error
Multiple annotations found at this line:
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'javaee:display-name'. One of
'{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/
xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param,
"http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/
j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://
java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/
ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config,
"http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://
java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/
j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://
java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/
ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/
j2ee":locale-encoding-mapping-list}' is expected.
------------- javaee 삭제후
javaee 부분을 삭제하여 runserver 를 실행하면 아래와 같은 오류가 발생합니다.
3월 07, 2014 9:33:29 오전 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter HTMLTagFilter
java.lang.ClassNotFoundException: egovframework.com.cmm.filter.HTMLTagFilter
...
A
안녕하세요. 김민하님
egovframework.com.cmm.filter.HTMLTagFilter 클래스가 존재하는 지 확인해 보시고,
존재한다면 Project -> Clean 메뉴를 통해서 재컴파일 해보시기 바랍니다.
고맙습니다.
egovframework.com.cmm.filter.HTMLTagFilter 클래스가 존재하는 지 확인해 보시고,
존재한다면 Project -> Clean 메뉴를 통해서 재컴파일 해보시기 바랍니다.
고맙습니다.