「Spring」Unable to validate using XSDエラーの解決方法

エラー現象
Tomcatを起動すると、下記警告メッセージが表示されます。
ERROR [org.springframework.web.context.ContextLoader] – Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from ServletContext resource
[/WEB-INF/conf/applicationContext.xml]; nested exception is javax.xml.parsers.ParserConfigurationException:
Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@5e7663] does not support XML Schema. Are you running
on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@5e7663]
does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.

解決方法
gunjaxp.jarを削除

SpringMVC

Posted by arkgame