首选检查下数据库配置:

问题信息描述如下:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'certificateSjdrDaoImpl': Unsatisfied dependency expressed through field 'certificateSjdrMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.kanq.platform.cert.mapper.CertificateSjdrMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) ~[spring-beans-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) ~[spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) ~[spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.8.RELEASE.jar:4.3.8.RELEASE]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853) [catalina.jar:8.0.44]

新下载的工程,启动tomcat出现识别文件失败的现象。No qualifying bean of type 'com.kanq.platform.cert.mapper.CertificateSjdr相关推荐

  1. SpringBoot启动问题:No qualifying bean of type ‘XXX‘ available: ...

    **记录:**SpringBoot 启动问题:No qualifying bean of type 'XX' available: expected at least 1 bean which qua ...

  2. 在eclipse中启动Tomcat访问localhost:8080失败项目添加进Tomcat在webapp中找不到

    软件环境:Eclipse oxygen, Tomcat8.5 #在eclipse中启动Tomcat访问localhost:8080失败 在eclipse中配置tomcat后,打开tomcat后访问lo ...

  3. 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 ...

  4. spring boot 启动报错:No qualifying bean of type org.springframework.security.oauth2.provider.token.Toke

    spring boot启动报错: Exception encountered during context initialization - cancelling refresh attempt: o ...

  5. 项目启动报错:No qualifying bean of type ‘xxx‘ available:

    项目启动报错: Description: A component required a bean of type 'cn.hsa.its.abutment.bo.BusinessAcceptBo' t ...

  6. 使用Feign服务远程调用项目启动时报错:Field xxx in xxx required a bean of type xxx that could not be found.

    报错: *************************** APPLICATION FAILED TO START ***************************Description:F ...

  7. mysql服务启动超时,更新pid文件失败(亲测实用)

    The server quit without updating PID file (/[失败]b/mysql/root.pid) 禁止转载 一:BUG截图 在网上找了许多博客,提供了很多种解决方案, ...

  8. 项目启动的时候显示报错No qualifying bean of type “com.xx.xxDao“

    今天启动微服务的时候报了个错,如下图,注入失败,有两种情况,一种是找不到无法注入,一种是至少有一个以上可以注入, 当时查看了这个Dao发现这个Dao是在com.a.dao这个包下(pom引入的外部封装 ...

  9. spring boot 启动报Field userMapper in xxx.service.UserService required a bean of type 'wen.tian

    @MapperScan("xxx.xxx.mapper") 的问题

  10. 多数据源启动异常:No qualifying bean of type ‘javax.sql.DataSource‘ available: more than one ‘primary‘ bean f

    多数据源报错:No qualifying bean of type 'javax.sql.DataSource' available: more than one 'primary' bean fou ...

最新文章

  1. 使用autoconf完成编译配置
  2. CocoaPods管理iOS的第三方类库
  3. BUUCTF(misc) 假如给我三天光明 (盲文+摩斯密码)
  4. 迪克逊准则matlab,浙江科技学院学报
  5. 发年终奖了,创了新高
  6. 【Android】命令行jarsigner签字和解决找不到证书链错误
  7. dcp9030cdn定影_兄弟Brother DCP-9030CDN打印机驱动(修复DCP-9030CDN打印机连接故障)V1.0 正式版...
  8. 监听程序当前无法识别连接符中请求的服务_[Servlet] 18 监听器
  9. ie6,ie7兼容性总结(转)
  10. 有趣的EditView为空时的抖动效果(用户名和密码)--第三方开源--ClearEditText
  11. java教程 doc,java 基础教程.doc
  12. Linux打包与压缩命令
  13. BabyMaker(预测宝宝未来长相软件) v1.5绿色中文破解版
  14. 关于ETF的套利机制
  15. 目前主流的移动广告联盟有哪些呢?
  16. excel解析html代码,使用excel vba解析HTML的错误
  17. list添加元素_如何给List集合的每个元素添加index序号
  18. python opencv 人体/人脸识别 简易demo
  19. Docker--网络模式
  20. 计算机制作校徽 的 体会,制作校徽_课程中心_3D One官网www.i3done.com

热门文章

  1. EPT DATA数据库能查到1998-2013年工业企业数据库
  2. 在AVEVA PDMSE3D软件实现三维二维码模型
  3. 如何防止CSRF攻击?
  4. 微信扫描二维码后无法打开网页
  5. HTML简单的网页代码编写
  6. windows安装和使用git工具
  7. Matlab报错 :“位置 x 处的索引超出数组边界”
  8. 简单打印-双排标签102*30模板设计
  9. Java读写配置文件——Properties类的简要使用笔记
  10. java 动态读取配置文件_java读取配置文件的几种方法