rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'TL_C_CONS_ExtendController':


org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'TL_C_CONS_ExtendController':
Unsatisfied dependency expressed through field 'tl_c_cons_extendService';
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'TL_C_CONS_ExtendService':
Unsatisfied dependency expressed through field 'tl_c_cons_extendDao';
nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'TL_C_CONS_ExtendDao'
defined in file [E:\tl_cons_credit_rating\target\classes\com\youotech\tl_cons_credit_rating\dao\
TL_C_CONS_ExtendDao.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 mapping resource: 'file [E:\tl_cons_credit_rating\target\classes
\mapper\TL_C_CONS_ExtendMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException:
Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 46; columnNumber:
135; 元素內容必須由格式正確的字符數據或標記組成。

 

 

 

 

 

最終還是通過一個步驟一個步驟的排查發現原來是MAPPER里面的SQL文件錯誤

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 mybatis Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'homeControll 【報錯】org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webSocketHandlerMapping' defined in class path resource org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisConnectionFactory' defined in class path resource org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘XXX’ 遇見org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemController':錯誤 【解決方案】 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userHandler': Injection of resource dependencies failed; org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in class path resource Dubbo管理平台搭建(duboo-admin-2.5.4)遇到的問題:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'uriBrokerService': Cannot create inner bean '(inner bean)' of type
 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM