报错码:

WARN 6692 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'indexController': Unsatisfied dependency expressed through field 'userMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userMapper' defined in file [D:\workspace\179\springboot-quikstart\target\classes\com\alibaba\mapper\UserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'mybatis-org.mybatis.spring.boot.autoconfigure.MybatisProperties': Could not bind properties to 'MybatisProperties' : prefix=mybatis, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis.configuration' to org.apache.ibatis.session.Configuration
2022-08-02 18:02:19.524  INFO 6692 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2022-08-02 18:02:19.532  INFO 6692 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-08-02 18:02:19.534 ERROR 6692 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'mybatis.configuration' to org.apache.ibatis.session.Configuration:

Reason: No converter found capable of converting from type [java.lang.String] to type [@org.springframework.boot.context.properties.NestedConfigurationProperty org.apache.ibatis.session.Configuration]

Action:

Update your application's configuration

解决方法:

application.yaml配置文件里测试驼峰映射时 未将configuration注掉

springboot启动失败相关推荐

  1. 解决springboot启动失败问题:Unable to start embedded container;

    解决springboot启动失败问题:Unable to start embedded container; 参考文章: (1)解决springboot启动失败问题:Unable to start e ...

  2. SpringBoot 启动失败 Failed to determine a suitable driver class 问题解决方案

    SpringBoot 启动失败 Failed to determine a suitable driver class 问题解决方案 参考文章: (1)SpringBoot 启动失败 Failed t ...

  3. springboot启动失败的原因及其解决方法

    前言: 对于springboot的启动失败,相信大家都有经历,但是为什么会启动失败,以及怎么解决都只能通过日志进行查看,在这里,我会将常见的springboot启动失败的报错一一展示 报错: 1:端口 ...

  4. springboot启动失败 required a bean of type ‘XXX‘ not be found

    改造老项目时出现注入失败问题 Description: Field httpclient in com.cn.XXX.user.business.impl.UserBusinessImpl requi ...

  5. SpringBoot启动失败:出现错误——HikariPool-1 - Shutdown initiated...后立即出现 HikariPool-1 - Shutdown completed.

    问题: . ____ _ __ _ _/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\ ...

  6. springboot启动失败之A child container failed during start

    前面巴拉巴拉一堆,看最后一行错误原因 java.lang.NoSuchMethodError: javax.servlet.ServletContext.getVirtualServerName()L ...

  7. spring-boot启动失败 Unregistering JMX-exposed beans on shutdown

    1.美图 2.背景 拷贝了一个程序,结果运行直接退出了 . ____ _ __ _ _/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | ' ...

  8. springBoot启动失败Caused by: java.lang.ClassNotFoundException: org.springframework.http.MediaType

    异常详情: Error starting ApplicationContext. To display the conditions report re-run your application wi ...

  9. SpringBoot启动流程是怎样的

    前言 SpringBoot一开始最让我印象深刻的就是通过一个启动类就能启动应用.在SpringBoot以前,启动应用虽然也不麻烦,但是还是有点繁琐,要打包成war包,又要配置tomcat,tomcat ...

最新文章

  1. 用 WEKA 进行数据挖掘,第 3 部分: 最近邻和服务器端库
  2. 每日程序C语言47-找到年龄最大的人并输出
  3. 怎么得到scrollTop
  4. python字符串操作作业_python 第二天作业
  5. jconsole命令 Java Monitoring and Management Console
  6. 小米11顶配版屏幕参数曝光:2K 120Hz高刷屏支持运动补偿
  7. 在线打假!“鲁迅说过的话”检索系统上线 网友太热情系统一度崩溃
  8. element-ui中table表格表头和表格内容都水平居中
  9. vue条件渲染指令if/show
  10. NYOJ260 - 数数小木块
  11. Java的环境变量配置
  12. Unity接入谷歌支付
  13. Unity 导出obj模型
  14. T-test检验中的P,α理解
  15. jupyter notebook的安装与启动
  16. 南方电网电费充值源码文档
  17. flutter 可拖拽吸边的悬浮按钮,悬浮布局;
  18. 索引是什么,怎么确定索引
  19. Android编程权威指南笔记3:Android Fragment讲解与Android Studio中的依赖关系,如何添加依赖关系
  20. javaScript系列笔记 - JS实现MP4播放

热门文章

  1. arcgis server发布shp服务实现数据库更新后服务也相应更新数据
  2. Verification和Validation傻傻分不清楚?
  3. 忠诚点数体系和区块链
  4. 写给想要开始跑步的人
  5. 苹果Mac 30周年:那些改变世界的人和Mac电脑
  6. Illustrator插件开发之ADM列表
  7. ZJOI2017 讲课Day1笔记
  8. 【胖虎的逆向之路】04——脱壳(一代壳)原理脱壳相关概念详解
  9. 上周热点回顾(2.13-2.19)
  10. MySQL的幻读是怎么被解决的?