Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'menuMapper' defined in file [C:\project\KSIFWEMS\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\KSIFWEMS\WEB-INF\classes\kr\or\ksif\bms\mapper\MenuMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [C:\project\KSIFWEMS\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\KSIFWEMS\WEB-INF\classes\kr\or\ksif\bms\config\spring\applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\project\KSIFWEMS\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\KSIFWEMS\WEB-INF\classes\kr\or\ksif\bms\mapper\sql\ExportMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException: The content of element type "update" must match "(include|trim|where|set|foreach|choose|if|bind)".; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [C:\project\KSIFWEMS\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\KSIFWEMS\WEB-INF\classes\kr\or\ksif\bms\config\spring\applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [C:\project\KSIFWEMS\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\KSIFWEMS\WEB-INF\classes\kr\or\ksif\bms\mapper\sql\ExportMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException: The content of element type "update" must match "(include|trim|where|set|foreach|choose|if|bind)".
xml 파일에 문제가 있음
merge문 update/insert문에서 insert문에
<selectKey keyProperty="id" resultType="int" order="BEFORE">
SELECT 시퀀스 FROM DUAL
</selectKey>
넣어서 에러가 났음
'eclipse' 카테고리의 다른 글
[eclipse] jrebel 대체 spring-loaded 적용 방법 (0) | 2019.09.26 |
---|---|
[eclipse] 이클립스 자주 쓰는 단축키 (0) | 2019.09.25 |
[eclipse] 잘 되던 프로젝트가 org.apache.catalina.startup.VersionLoggerListener 메시지 뿜을 때 (0) | 2019.09.19 |
[eclipse] 프로젝트 클린 시 cleaning selected projects has encountered a problem (0) | 2018.02.14 |
[eclipse/tomcat] 이클립스 톰캣 메모리 설정 (0) | 2017.05.19 |