Translate

[WebLogic][Error] Exception in AppMerge flows' progression










10.3.6에서 배치(Deploy) 할 시 아래와 같이 에러가 발생하며 다음으로 넘어갈 수 없었다.

Exception in AppMerge flows' progression
Unmarshaller failed





문제는 WEB-INF/web.xml 의 서블릿 버전 때문이었다.
원인은 Weblogic 11g(10.3.6) 버전이 지원하는 Java EE Servlet 을 잘못 명시 했기 때문이다.
WebLogic 11g는 Java EE Servlet 2.2~2.5 까지 지원을 한다. (링크)




잘못된 것
<?xml version="1.0" encoding="UTF-8"?>
<web-app 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_4_0.xsd"
         version="4.0">
</web-app>

올바른 것
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
</web-app>



댓글