If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently

正解:因为spring boot只要你在pom中引入了mybatis-spring-boot-starter 他就会默认需要加载数据库相关的配置

可以加上

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

最新文章

  1. linux下mnt目录作用
  2. centos6.5 安装mysql 的过程
  3. 在CentOS6.7操作系统上编译安装mysql-5.6.31
  4. hibernate one-to-many many-to-one 双向注解
  5. poj1005 I Think I Need a Houseboat
  6. Singleton(单例模式)
  7. python中的buildin函数详解(第一篇)
  8. VGA IP核的制作
  9. asp.net 二级域名session共享
  10. bzoj1087 [SCOI2005]互不侵犯
  11. 剑指Offer——顺丰笔试题+知识点总结
  12. c#学习笔记 day_one
  13. 安装nova后解决登录没账号问题
  14. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisConnectionFactory' defined in class path resource
  15. docker上配置mysql主从复制
  16. Swoole 理解manager进程和worker进程的启动顺序,以及演示如何停止或者重启服务端。
  17. Selenium+Java自动化之如何优雅绕过验证码
  18. centos7下安装docker(9.1容器对资源的使用限制-CPU)
  19. js-dom-动态创建html标签时,name属性的初始化问题
  20. js template实现方法

热门文章

  1. windwos 10 谷歌浏览器出现彩色闪条
  2. 打开关闭tomcat的目录浏览功能
  3. JAVA 编程思想二
  4. QTreeWidget笔记
  5. c 无回显读取字符/不按回车即获取字符
  6. Thinkphp3.2 备份数据库和还原数据的方法
  7. Json.net的常用语句JsonConvert.SerializeObject(对象)
  8. python split 与join
  9. codeforces 547B【单调栈】
  10. [openjudge] 1455:An Easy Problem 贪心