728x90
스프링에서 JSP와 web.xml의 버전이 맞지 않아 자주 일어나는 에러라고 한다.
나의 경우는 전자정부 프레임워크 올인원 공통 컴포넌트 프로젝트를 생성하면서 발생한 오류이다.
|
1
2
3
4
|
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee; http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
|
cs |
javaee 뒤에 ; 를 지워주면 되는 간단한 문제였다....
|
1
2
3
4
|
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd">
|
cs |
'WEB' 카테고리의 다른 글
| [Error] Mysql Host is not allowed to connect to this MySQL server (0) | 2024.04.12 |
|---|---|
| [WEB] - 클라이언트 IP 헤더 정보 가져오기 (X-Forwarded-For) (0) | 2024.03.13 |
| [Error] Exception java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties [in thread "Worker-48: Building workspace"] (0) | 2024.02.27 |
| [WEB] 부트스트랩-bootstrap (0) | 2024.02.19 |
| [WEB]MVC 패턴 (MVC Pattern) (0) | 2024.02.16 |