코딩/Spring
spring error-page location "http://java.sun.com/xml/ns/javaee":exception-type}' is expected.
타다키치
2015. 8. 31. 16:18
<error-page>
<location>/error<location>
</error-page>
추가할 때 에러나면
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
에서 2.5 부분을 모두 3.0으로 바꾸면 된다.