当前位置:网站首页>Idea error failed to determine a suitable driver class
Idea error failed to determine a suitable driver class
2022-07-25 14:20:00 【Lin fanchen coding】
List of articles
The phenomenon
In the process of doing the project , It is necessary to distinguish several sets of environments , commonly SpringBoot The configuration file of the project will also be separated , as follows :
application-db-dev.yml
application-db-local.yml
application-dev.yml
application-local.yml
application.yml
Now make a copy local As dev Environmental , And then in application.yml change spring.profiles.active=local, It should be able to start directly , But the error is reported as follows :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-05-06 23:35:15.267 ERROR 12944 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Process finished with exit code 1
The exception indicates that the connection address of the database is not found , Guess it is application-db-local.yml The document is not effective .
solve
Contact sign resources Catalog

Re label resources Catalog

边栏推荐
- NUC980 设置SSH Xshell连接
- ~5 new solution of CCF 2021-12-2 sequence query
- 2271. Maximum number of white bricks covered by blanket ●●
- telnet远程登录aaa模式详解【华为eNSP】
- Maya modeling exercise
- Business data analysis of CDA level1 knowledge point summary
- thymeleaf设置disabled
- swiper 一侧或两侧露出一小部分
- Data analysis business core
- How to design a high concurrency system?
猜你喜欢

2271. Maximum number of white bricks covered by blanket ●●

Amd epyc 9664 flagship specification exposure: 96 core 192 threads 480MB cache 3.8ghz frequency

Vs2017 large factory ERP management system source code factory general ERP source code

Typora无法打开提示安装新版本解决办法

科隆新能源IPO被终止:拟募资6亿 先进制造与战新基金是股东
![[directory blasting tool] information collection stage: robots.txt, Yujian, dirsearch, dirb, gobuster](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[directory blasting tool] information collection stage: robots.txt, Yujian, dirsearch, dirb, gobuster
![Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]](/img/22/17250eabf067b5b1b9b71e6e0ff14e.png)
Depth estimation self-monitoring model monodepth2 paper summary and source code analysis [theoretical part]

From fish eye to look around to multi task King bombing -- a review of Valeo's classic articles on visual depth estimation (from fisheyedistancenet to omnidet) (Part I)

OKA通证权益解析,参与Okaleido生态建设的不二之选

Idea settings ignore file configuration when submitting SVN
随机推荐
为什么中建、中铁都需要这本证书?究竟是什么原因?
Throwing OutOfMemoryError “Could not allocate JNI Env“
Initial flask and simple application
thymeleaf通过样式控制display是否显示
Xintang nuc980 set DHCP or static IP
CTS测试介绍(面试怎么介绍接口测试)
Matplotlib data visualization three minutes entry, half an hour enchanted?
Melodic + Realsense D435i 配置及错误问题解决
实现一个家庭安防与环境监测系统(二)
Tensorflow2 installation quick pit avoidance summary
Cologne new energy IPO was terminated: the advanced manufacturing and Zhanxin fund to be raised is the shareholder
Throwing OutOfMemoryError “Could not allocate JNI Env“
VS2017大型工厂ERP管理系统源码 工厂通用ERP源码
手把手教你申请SSL证书
Emergency science | put away this summer safety guide and let children spend the summer vacation safely!
应用实践:Paddle分类模型大集成者[PaddleHub、Finetune、prompt]
结构体大小
It is predicted that 2021 will accelerate the achievement of super automation beyond RPA
Hyperautomation for the enhancement of automation in industries
基于redis的keys、scan删除ttl为-1的key