org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘informationsMapper’ defined in file [D:\work\informations-praent\informations-provider\target\classes\com\zb\mapper\InformationsMapper.class]: Unsatisfied dependency expressed through bean property ‘sqlSessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘infoId’. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1357) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1249) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.6.RELEASE.jar:1.5.6.RELEASE]
at com.zb.MyDubboProviderApp.main(MyDubboProviderApp.java:9) [classes/:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method ‘sqlSessionFactory’ threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘infoId’. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory 1. g e t O b j e c t ( A b s t r a c t B e a n F a c t o r y . j a v a : 306 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 230 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 302 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 202 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . c o n f i g . D e p e n d e n c y D e s c r i p t o r . r e s o l v e C a n d i d a t e ( D e p e n d e n c y D e s c r i p t o r . j a v a : 208 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . d o R e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1138 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . r e s o l v e D e p e n d e n c y ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 1066 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . a u t o w i r e B y T y p e ( A b s t r a c t A u t o w i r e C a p a b l e B e a n F a c t o r y . j a v a : 1342 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] . . . 16 c o m m o n f r a m e s o m i t t e d C a u s e d b y : o r g . s p r i n g f r a m e w o r k . b e a n s . B e a n I n s t a n t i a t i o n E x c e p t i o n : F a i l e d t o i n s t a n t i a t e [ o r g . a p a c h e . i b a t i s . s e s s i o n . S q l S e s s i o n F a c t o r y ] : F a c t o r y m e t h o d ′ s q l S e s s i o n F a c t o r y ′ t h r e w e x c e p t i o n ; n e s t e d e x c e p t i o n i s o r g . s p r i n g f r a m e w o r k . c o r e . N e s t e d I O E x c e p t i o n : F a i l e d t o p a r s e c o n f i g r e s o u r c e : c l a s s p a t h r e s o u r c e [ m y b a t i s − c o n f i g . x m l ] ; n e s t e d e x c e p t i o n i s o r g . a p a c h e . i b a t i s . b u i l d e r . B u i l d e r E x c e p t i o n : E r r o r p a r s i n g S Q L M a p p e r C o n f i g u r a t i o n . C a u s e : o r g . a p a c h e . i b a t i s . b u i l d e r . B u i l d e r E x c e p t i o n : E r r o r p a r s i n g M a p p e r X M L . C a u s e : j a v a . l a n g . I l l e g a l S t a t e E x c e p t i o n : T y p e h a n d l e r w a s n u l l o n p a r a m e t e r m a p p i n g f o r p r o p e r t y ′ i n f o I d ′ . I t w a s e i t h e r n o t s p e c i f i e d a n d / o r c o u l d n o t b e f o u n d f o r t h e j a v a T y p e ( c o m . z b . e n t i t y . I n f o r m a t i o n s ) : j d b c T y p e ( n u l l ) c o m b i n a t i o n . a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . S i m p l e I n s t a n t i a t i o n S t r a t e g y . i n s t a n t i a t e ( S i m p l e I n s t a n t i a t i o n S t r a t e g y . j a v a : 189 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . C o n s t r u c t o r R e s o l v e r . i n s t a n t i a t e U s i n g F a c t o r y M e t h o d ( C o n s t r u c t o r R e s o l v e r . j a v a : 588 )   [ s p r i n g − b e a n s − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] . . . 28 c o m m o n f r a m e s o m i t t e d C a u s e d b y : o r g . s p r i n g f r a m e w o r k . c o r e . N e s t e d I O E x c e p t i o n : F a i l e d t o p a r s e c o n f i g r e s o u r c e : c l a s s p a t h r e s o u r c e [ m y b a t i s − c o n f i g . x m l ] ; n e s t e d e x c e p t i o n i s o r g . a p a c h e . i b a t i s . b u i l d e r . B u i l d e r E x c e p t i o n : E r r o r p a r s i n g S Q L M a p p e r C o n f i g u r a t i o n . C a u s e : o r g . a p a c h e . i b a t i s . b u i l d e r . B u i l d e r E x c e p t i o n : E r r o r p a r s i n g M a p p e r X M L . C a u s e : j a v a . l a n g . I l l e g a l S t a t e E x c e p t i o n : T y p e h a n d l e r w a s n u l l o n p a r a m e t e r m a p p i n g f o r p r o p e r t y ′ i n f o I d ′ . I t w a s e i t h e r n o t s p e c i f i e d a n d / o r c o u l d n o t b e f o u n d f o r t h e j a v a T y p e ( c o m . z b . e n t i t y . I n f o r m a t i o n s ) : j d b c T y p e ( n u l l ) c o m b i n a t i o n . a t o r g . m y b a t i s . s p r i n g . S q l S e s s i o n F a c t o r y B e a n . b u i l d S q l S e s s i o n F a c t o r y ( S q l S e s s i o n F a c t o r y B e a n . j a v a : 499 )   [ m y b a t i s − s p r i n g − 1.3.0. j a r : 1.3.0 ] a t o r g . m y b a t i s . s p r i n g . S q l S e s s i o n F a c t o r y B e a n . a f t e r P r o p e r t i e s S e t ( S q l S e s s i o n F a c t o r y B e a n . j a v a : 381 )   [ m y b a t i s − s p r i n g − 1.3.0. j a r : 1.3.0 ] a t o r g . m y b a t i s . s p r i n g . S q l S e s s i o n F a c t o r y B e a n . g e t O b j e c t ( S q l S e s s i o n F a c t o r y B e a n . j a v a : 546 )   [ m y b a t i s − s p r i n g − 1.3.0. j a r : 1.3.0 ] a t o r g . m y b a t i s . s p r i n g . b o o t . a u t o c o n f i g u r e . M y b a t i s A u t o C o n f i g u r a t i o n . s q l S e s s i o n F a c t o r y ( M y b a t i s A u t o C o n f i g u r a t i o n . j a v a : 130 )   [ m y b a t i s − s p r i n g − b o o t − a u t o c o n f i g u r e − 1.1.1. j a r : 1.1.1 ] a t o r g . m y b a t i s . s p r i n g . b o o t . a u t o c o n f i g u r e . M y b a t i s A u t o C o n f i g u r a t i o n 1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1342) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] ... 16 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property 'infoId'. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE] ... 28 common frames omitted Caused by: org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property 'infoId'. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination. at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:499) ~[mybatis-spring-1.3.0.jar:1.3.0] at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:381) ~[mybatis-spring-1.3.0.jar:1.3.0] at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:546) ~[mybatis-spring-1.3.0.jar:1.3.0] at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:130) ~[mybatis-spring-boot-autoconfigure-1.1.1.jar:1.1.1] at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration 1.getObject(AbstractBeanFactory.java:306) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1342) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]...16commonframesomittedCausedby:org.springframework.beans.BeanInstantiationException:Failedtoinstantiate[org.apache.ibatis.session.SqlSessionFactory]:FactorymethodsqlSessionFactorythrewexception;nestedexceptionisorg.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[mybatisconfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:org.apache.ibatis.builder.BuilderException:ErrorparsingMapperXML.Cause:java.lang.IllegalStateException:TypehandlerwasnullonparametermappingforpropertyinfoId.Itwaseithernotspecifiedand/orcouldnotbefoundforthejavaType(com.zb.entity.Informations):jdbcType(null)combination.atorg.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) [springbeans4.3.10.RELEASE.jar:4.3.10.RELEASE]...28commonframesomittedCausedby:org.springframework.core.NestedIOException:Failedtoparseconfigresource:classpathresource[mybatisconfig.xml];nestedexceptionisorg.apache.ibatis.builder.BuilderException:ErrorparsingSQLMapperConfiguration.Cause:org.apache.ibatis.builder.BuilderException:ErrorparsingMapperXML.Cause:java.lang.IllegalStateException:TypehandlerwasnullonparametermappingforpropertyinfoId.Itwaseithernotspecifiedand/orcouldnotbefoundforthejavaType(com.zb.entity.Informations):jdbcType(null)combination.atorg.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:499) [mybatisspring1.3.0.jar:1.3.0]atorg.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:381) [mybatisspring1.3.0.jar:1.3.0]atorg.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:546) [mybatisspring1.3.0.jar:1.3.0]atorg.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:130) [mybatisspringbootautoconfigure1.1.1.jar:1.1.1]atorg.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration E n h a n c e r B y S p r i n g C G L I B EnhancerBySpringCGLIB EnhancerBySpringCGLIB 4 d 7 f 33 f 7. C G L I B 4d7f33f7.CGLIB 4d7f33f7.CGLIBsqlSessionFactory 0 ( < g e n e r a t e d > )   [ m y b a t i s − s p r i n g − b o o t − a u t o c o n f i g u r e − 1.1.1. j a r : 1.1.1 ] a t o r g . m y b a t i s . s p r i n g . b o o t . a u t o c o n f i g u r e . M y b a t i s A u t o C o n f i g u r a t i o n 0(<generated>) ~[mybatis-spring-boot-autoconfigure-1.1.1.jar:1.1.1] at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration 0(<generated>) [mybatisspringbootautoconfigure1.1.1.jar:1.1.1]atorg.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration E n h a n c e r B y S p r i n g C G L I B EnhancerBySpringCGLIB EnhancerBySpringCGLIB 4 d 7 f 33 f 7 4d7f33f7 4d7f33f7 F a s t C l a s s B y S p r i n g C G L I B FastClassBySpringCGLIB FastClassBySpringCGLIB f 6275 b 5 e . i n v o k e ( < g e n e r a t e d > )   [ m y b a t i s − s p r i n g − b o o t − a u t o c o n f i g u r e − 1.1.1. j a r : 1.1.1 ] a t o r g . s p r i n g f r a m e w o r k . c g l i b . p r o x y . M e t h o d P r o x y . i n v o k e S u p e r ( M e t h o d P r o x y . j a v a : 228 )   [ s p r i n g − c o r e − 4.3.10. R E L E A S E . j a r : 4.3.10. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . a n n o t a t i o n . C o n f i g u r a t i o n C l a s s E n h a n c e r f6275b5e.invoke(<generated>) ~[mybatis-spring-boot-autoconfigure-1.1.1.jar:1.1.1] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.3.10.RELEASE.jar:4.3.10.RELEASE] at org.springframework.context.annotation.ConfigurationClassEnhancer f6275b5e.invoke(<generated>) [mybatisspringbootautoconfigure1.1.1.jar:1.1.1]atorg.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) [springcore4.3.10.RELEASE.jar:4.3.10.RELEASE]atorg.springframework.context.annotation.ConfigurationClassEnhancerBeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) ~[spring-context-4.3.10.RELEASE.jar:4.3.10.RELEASE]
at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration E n h a n c e r B y S p r i n g C G L I B EnhancerBySpringCGLIB EnhancerBySpringCGLIB4d7f33f7.sqlSessionFactory() ~[mybatis-spring-boot-autoconfigure-1.1.1.jar:1.1.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.3.10.RELEASE.jar:4.3.10.RELEASE]
… 29 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘infoId’. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination.
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:117) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:95) ~[mybatis-3.4.0.jar:3.4.0]
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:493) ~[mybatis-spring-1.3.0.jar:1.3.0]
… 42 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘infoId’. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination.
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:360) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:115) ~[mybatis-3.4.0.jar:3.4.0]
… 44 common frames omitted
Caused by: java.lang.IllegalStateException: Type handler was null on parameter mapping for property ‘infoId’. It was either not specified and/or could not be found for the javaType (com.zb.entity.Informations) : jdbcType (null) combination.
at org.apache.ibatis.mapping.ParameterMapping B u i l d e r . v a l i d a t e ( P a r a m e t e r M a p p i n g . j a v a : 117 )   [ m y b a t i s − 3.4.0. j a r : 3.4.0 ] a t o r g . a p a c h e . i b a t i s . m a p p i n g . P a r a m e t e r M a p p i n g Builder.validate(ParameterMapping.java:117) ~[mybatis-3.4.0.jar:3.4.0] at org.apache.ibatis.mapping.ParameterMapping Builder.validate(ParameterMapping.java:117) [mybatis3.4.0.jar:3.4.0]atorg.apache.ibatis.mapping.ParameterMappingBuilder.build(ParameterMapping.java:104) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.SqlSourceBuilder P a r a m e t e r M a p p i n g T o k e n H a n d l e r . b u i l d P a r a m e t e r M a p p i n g ( S q l S o u r c e B u i l d e r . j a v a : 123 )   [ m y b a t i s − 3.4.0. j a r : 3.4.0 ] a t o r g . a p a c h e . i b a t i s . b u i l d e r . S q l S o u r c e B u i l d e r ParameterMappingTokenHandler.buildParameterMapping(SqlSourceBuilder.java:123) ~[mybatis-3.4.0.jar:3.4.0] at org.apache.ibatis.builder.SqlSourceBuilder ParameterMappingTokenHandler.buildParameterMapping(SqlSourceBuilder.java:123) [mybatis3.4.0.jar:3.4.0]atorg.apache.ibatis.builder.SqlSourceBuilderParameterMappingTokenHandler.handleToken(SqlSourceBuilder.java:67) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.parsing.GenericTokenParser.parse(GenericTokenParser.java:69) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.SqlSourceBuilder.parse(SqlSourceBuilder.java:45) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.scripting.defaults.RawSqlSource.(RawSqlSource.java:46) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.scripting.defaults.RawSqlSource.(RawSqlSource.java:40) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.scripting.xmltags.XMLScriptBuilder.parseScriptNode(XMLScriptBuilder.java:58) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.scripting.xmltags.XMLLanguageDriver.createSqlSource(XMLLanguageDriver.java:44) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:94) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128) ~[mybatis-3.4.0.jar:3.4.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118) ~[mybatis-3.4.0.jar:3.4.0]
… 47 common frames omitted

解决:实体类属性与.xml文件映射问题,增加resultMap映射或更改是实例类属性
在这里插入图片描述在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值