2
내 서버 없음 typehandler 예외 -> 웹 로직 서버 10.3 내 MyBatis로 버전 3.2.2 쿼리 해고MyBatis로
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/db/tf/interfaces/SpringIn
terfaceContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [com/db/tf/interfaces/sqlmaps/SqlMapConfig-Interface.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. C
ause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: No typehandler found for property invocationDetails.creditDetails.modeOfPayment at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:608)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at InterfaceConfigUtility.<clinit>(InterfaceConfigUtility.java:20)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.db.tf.interfaces.mdb.InterfaceMDB.onMessage(InterfaceMDB.java:44)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage (MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
는 아래의 변수
<result property="PQR" column="ABC"/>
에서와 결과 맵이 데이터베이스 내가 정규 varchar로 가지고있다. 근본 원인을 찾을 수
수 없습니다 도움 어떤 종류의 greatful입니다.
미리 감사드립니다.
전체 결과 맵에 붙여 넣을 수 있습니까? 'jdbcType = "VARCHAR"'을 속성에 추가해야 할 필요가있는 것 같습니다. –
내가 명시 적으로 모든 varchar.It에 대한 jdbcType을 지정할 수 없다는 것, 사용자 지정 개체에 문제가있는 것 같아요. 문자열을 사용자 지정 개체에 복사하려고 할 때 생성 된 jaxb 콘텐츠/ID에 매핑했을 때. 이 문제는 SIT 환경에서도 발생하지 않았습니다. –
해당 속성에 해당 내용을 복사해야한다고 생각했습니다. –