카테고리 없음

[JEUS7.0] spring project deploy 배포 시 오류 사항들

마이스토리 2020. 10. 12. 13:04

# javax.xml.xpath.XPathFactoryConfigurationException:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EgovFileMngService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'FileManageDAO': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'egov.sqlSession' defined in file [C:\TmaxSoft\JEUS7\domains\jeus_domain\servers\server1\.workspace\deployed\ecegov\ec-eGov_war___\WEB-INF\classes\egovframework\spring\com\context-mapper.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom

--> xalan lib dependency 추가

<dependency>
    <groupId>xalan</groupId>
    <artifactId>xalan</artifactId>
    <version>2.7.2</version>
</dependency>

 

# EgovWebApplicationInitializer 클래스 필터 url pattern * -> /* 로 변경. (servlet spec)