Field jdbcTemplate in ***** required a bean of type '***' that could not be found. - Bean method 'j
spring boot 启动报错:
2019-08-01 18:46:05.929 INFO 1480 --- [ main] com.boss.fap.FapServiceMain2 : Starting FapServiceMain2 on LAPTOP-5F6BVL9M with PID 1480 (D:\eclipse-workspace1\git_src_sbp\frmis\src\trunk\fap-service\target\classes started by shigl in D:\eclipse-workspace1\git_src_sbp\frmis\src\trunk\fap-service)
2019-08-01 18:46:05.929 INFO 1480 --- [ main] com.boss.fap.FapServiceMain2 : No active profile set, falling back to default profiles: default
2019-08-01 18:46:05.983 INFO 1480 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@445b295b: startup date [Thu Aug 01 18:46:05 CST 2019]; root of context hierarchy
2019-08-01 18:46:06.423 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/com/huawei/paas/cse/foundation-auth/2.3.39.8/foundation-auth-2.3.39.8.jar!/META-INF/spring/auth.bean.xml]
2019-08-01 18:46:06.541 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/foundation-common/1.1.0.B011.10/foundation-common-1.1.0.B011.10.jar!/META-INF/spring/common.bean.xml]
2019-08-01 18:46:06.559 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/foundation-config/1.1.0.B011.10/foundation-config-1.1.0.B011.10.jar!/META-INF/spring/cse.bean.xml]
2019-08-01 18:46:06.573 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/foundation-vertx/1.1.0.B011.10/foundation-vertx-1.1.0.B011.10.jar!/META-INF/spring/cse.bean.xml]
2019-08-01 18:46:06.586 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/handler-bizkeeper/1.1.0.B011.10/handler-bizkeeper-1.1.0.B011.10.jar!/META-INF/spring/cse.bean.xml]
2019-08-01 18:46:06.596 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/handler-loadbalance/1.1.0.B011.10/handler-loadbalance-1.1.0.B011.10.jar!/META-INF/spring/cse.bean.xml]
2019-08-01 18:46:06.606 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/com/huawei/paas/cse/cse-handler-tcc/2.3.39.8/cse-handler-tcc-2.3.39.8.jar!/META-INF/spring/cse.tcc.bean.xml]
2019-08-01 18:46:06.635 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/com/huawei/paas/cse/cse-handler-cloud-extension/2.3.39.8/cse-handler-cloud-extension-2.3.39.8.jar!/META-INF/spring/services.bean.xml]
2019-08-01 18:46:06.644 INFO 1480 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from URL [jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/java-chassis-core/1.1.0.B011.10/java-chassis-core-1.1.0.B011.10.jar!/META-INF/spring/cse.bean.xml]
2019-08-01 18:46:07.130 INFO 1480 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2019-08-01 18:46:07.523 INFO 1480 --- [ main] o.a.s.c.ConfigurationSpringInitializer : Environment received, will get configurations from [org.springframework.core.env.StandardEnvironment@1462928549].
2019-08-01 18:46:07.544 WARN 1480 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2019-08-01 18:46:07.544 INFO 1480 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2019-08-01 18:46:07.559 INFO 1480 --- [ main] o.apache.servicecomb.config.ConfigUtil : create local config:
2019-08-01 18:46:07.559 INFO 1480 --- [ main] o.apache.servicecomb.config.ConfigUtil : jar:file:/C:/Users/shigl/.m2/repository/org/apache/servicecomb/java-chassis-core/1.1.0.B011.10/java-chassis-core-1.1.0.B011.10.jar!/microservice.yaml.
2019-08-01 18:46:07.559 INFO 1480 --- [ main] o.apache.servicecomb.config.ConfigUtil : jar:file:/C:/Users/shigl/.m2/repository/com/huawei/paas/cse/cse-solution-service-engine/2.3.39.8/cse-solution-service-engine-2.3.39.8.jar!/microservice.yaml.
2019-08-01 18:46:07.593 INFO 1480 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : Found SPI service org.apache.servicecomb.config.spi.ConfigCenterConfigurationSource, count=1.
2019-08-01 18:46:07.593 INFO 1480 --- [ main] o.a.s.f.common.utils.SPIServiceUtils : 0. org.apache.servicecomb.config.archaius.sources.ConfigCenterConfigurationSourceImpl.
2019-08-01 18:46:07.593 WARN 1480 --- [ main] .a.s.ConfigCenterConfigurationSourceImpl : Config Center configuration source is not configured!
2019-08-01 18:46:07.593 INFO 1480 --- [ main] o.apache.servicecomb.config.ConfigUtil : Config Source serverUri is not correctly configured.
2019-08-01 18:46:07.791 INFO 1480 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-08-01 18:46:07.917 INFO 1480 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$31a1a8b4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-08-01 18:46:08.180 WARN 1480 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'usercodeTransDaoImpl': Unsatisfied dependency expressed through field 'jdbcTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.jdbc.core.JdbcTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2019-08-01 18:46:08.187 INFO 1480 --- [ main] utoConfigurationReportLoggingInitializer : Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-08-01 18:46:08.277 ERROR 1480 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : ***************************
APPLICATION FAILED TO START
***************************Description:Field jdbcTemplate in com.boss.framework.dao.BaseDaoImpl required a bean of type 'org.springframework.jdbc.core.JdbcTemplate' that could not be found.- Bean method 'jdbcTemplate' not loaded because @ConditionalOnSingleCandidate (types: javax.sql.DataSource; SearchStrategy: all) did not find any beansAction:Consider revisiting the conditions above or defining a bean of type 'org.springframework.jdbc.core.JdbcTemplate' in your configuration.
有一种情况是springboot启动类包路径太深,导致注入的bean和配置文件扫描不到
Field jdbcTemplate in ***** required a bean of type '***' that could not be found. - Bean method 'j相关推荐
- Spring项目启动报错No qualifying bean of type [xxx] available: expected single matching bean but found 2
启动报错: No qualifying bean of type [class1] available: expected single matching bean but found 2,class ...
- Service类报错No qualifying bean of type ‘’ available: expected at least 1 bean which qualifies as auto
Spring框架 Error creating bean No qualifying bean of type '' available: expected at least 1 bean which ...
- 毕业设计Spring boot问题记录(后端二):No qualifying bean of type “xxx“: expected at least 1 bean which qualifies…
报错信息:No qualifying bean of type "xxx" idea Disconnected from the target VM, address: '127. ...
- 个人学习(解决)练习ssm框架遇到的问题No qualifying bean of type ‘service.BookTypeService‘ available:
报错信息 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ...
- No qualifying bean of type 问题
文章目录 No qualifying bean of type 问题解决思路 1.注解 2.配置 注解扩展 1.前端代码 链接是如何使用注解的? 2.注解属性: 3.常用注解 No qualifyin ...
- springboot Field userInfoInter in com.**.** required a bean of type ‘***.**‘
问题: Field userInfoInter in com.yyjc.springboot.service.UserInfoService required a bean of type 'com. ...
- 解决:Field xxMapper in xx.service.impl.xxServiceImpl required a bean of type ‘xx.mapper.xxMapper‘
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 启动 springboot 项目报错: Field userMapper in gentle. ...
- 报错,Field cardTypeService in cn.yihuazt.cols.controller.CardTypeController required a bean of type ‘c
问题: 2021-04-27 19:48:09.528 ERROR 27192 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter ...
- 解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法
Field xxxService in xxx.controller.xxx required a bean of type 'xxx.service.xxx' that could not be f ...
最新文章
- 学号20175313 《程序设计中临时变量的使用》第八周
- [05]EXTJS4.0的读写器reader,writer
- fedora 17 安装极点五笔
- 最近的C语言编程错误小结
- 线程安全与可重入函数的区别及联系
- c++ 数组换行_C语言的数组的构建与打印
- OpenCv——merge()函数数据合并
- 网站安全之nginx的配置创建访问网站密码认证
- Python - 浅谈Python的编译与反编译
- oracle blob 限制大小_Oracle的INSTANCE CAGING在数据库资源池中的作用
- 英语六级修炼记录(不定时更新)
- GraphQL 技术浅析
- 数据包络分析--CCR模型
- linux中iso源码解压_linux下解压iso镜像文件方法
- 沈阳移动打造“爱贝通”、“校讯通”业务助少年儿童健康成长
- specular图使用方法_次世代贴图教程_SPECULAR、SPECULAR POWER原理教程
- 本周推荐 | JDK 11 升级实践 和 Java 新特性浅探
- 一文让你搞懂Mysql中 concat函数,ifnull函数,distinct,+号的使用
- Android Pixel手机Notification小图标显示白方块问题
- jmeter如何定位网络延时_JMeter 如何模拟不同的网络速度
热门文章
- 微信点餐系统java教程_构建微服务微信点餐系统教程
- 根据浏览器判断是下载IOS还是其它的手机安装包
- DIV布局艺购艺术品商城网页(1页) HTML+CSS+JavaScript 学生DW网页 使用html+css实现一个静态页面(含源码)
- 澳门科技大学计算机研究生就业,读研or就业?大四毕业季你将何去何从?
- 人类行为时空特性的统计力学(一)——认识幂律分布
- (附源码)spring boot网上求职招聘系统 毕业设计 081201
- 实用且堪称神器的Chrome插件推荐
- 南方科技大学计算机2020考研,南方科技大学2020计算机专业考研数据分析
- 随心所欲玩电脑 各式笔记本电脑桌赏析
- 发那科机器人GI分配_发那科机器人的IO配置中,外围I/O分配与操作面板IO类型的认识 你必须了解!...