Cannot determine embedded database driver class for database type NONE
来源:互联网 发布:ug四轴联动编程实例 编辑:程序博客网 时间:2024/05/23 13:59
Cannot determine embedded database driver class for database type NONE
Action:
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 active).
Action:
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 active).
问题:
1.我使用的是springboot ,配置文件是后缀为yml格式的,然而程序不知道我什么不识别后缀文件为yml的配置文件,改为application.properties就能识别了,不理解。
解决方法:
说是找不到数据库
1.pom中加
<dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency>
2.把application.yml格式的配置文件改为application.properties就OK
阅读全文
1 0
- Cannot determine embedded database driver class for database type NONE
- Cannot determine embedded database driver class for database type NONE
- Cannot determine embedded database driver class for database type NONE
- Cannot determine embedded database driver class for database type NONE
- Cannot determine embedded database driver class for database type NONE
- Cannot determine embedded database driver class for database type NONE.
- Cannot determine embedded database driver class for database type NONE
- springBoot启动报错Cannot determine embedded database driver class for database type NONE
- springboot Cannot determine embedded database driver class for database type NONE解决办法
- springboot 启动报错:Cannot determine embedded database driver class for database type NONE
- SpringBoot启动报错Cannot determine embedded database driver class for database type NONE
- Spring Boot启动报错:Cannot determine embedded database driver class for database type NONE
- spriing boot 启动报错:Cannot determine embedded database driver class for database type NONE
- 关于Springboot:Cannot determine embedded database driver class for database type NONE解决办法
- spriing boot 启动报错:Cannot determine embedded database driver class for database type NONE
- spriing boot 启动报错:Cannot determine embedded database driver class for database type NONE
- Spring boot 报错:Cannot determine embedded database driver class for database type NONE
- Spring Boot启动问题:Cannot determine embedded database driver class for database type NONE
- 第10周Merge Intervals
- 【utils】java中调用cmd实现把jar包导入maven管理
- PyCharm引入自定义类报错
- mysql唯一索引的一个小常识--Duplicate entry 'XXX' for key 'XXX'
- vue-router菜鸟进阶!(重定向和别名)
- Cannot determine embedded database driver class for database type NONE
- BZOJ3594 [Scoi2014]方伯伯的玉米田
- HDU3549 Flow Problem
- C语言访问webservice小例子
- String类的常用方法总结
- Git教程——入门基础
- [2017纪中11-8]好文章 字符串hash+STL
- Airkiss技术java方法实现
- 从数据库获取 10 条随机数据