首页 新闻 会员 周边 捐助

idea运行时候的错误

0
悬赏园豆:10 [已解决问题] 解决于 2024-05-13 15:18

麻烦大佬看一下,idea运行项目的时候出现问题
2024-05-12 09:58:16.190 ERROR 14836 --- [ restartedMain] 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).

同时还有:
DEBUG StatusLogger org.slf4j.helpers.Log4jLoggerFactory is not on classpath. Good!
2024-05-12 09:58:13.577 DEBUG 14836 --- [ restartedMain] .c.l.ClasspathLoggingApplicationListener : Application started with classpath:
另外项目内有些包解析不了,问一下大佬什么原因

0o_O_o0的主页 0o_O_o0 | 初学一级 | 园豆:133
提问于:2024-05-12 10:07
< >
分享
最佳答案
0

spring boot依赖引入和Yaml配置检查一下呢

数据库连接信息或者驱动相关的

收获园豆:10
信念是基石心学Plus版 | 初学一级 |园豆:140 | 2024-05-13 08:41

解决了,谢谢大佬

0o_O_o0 | 园豆:133 (初学一级) | 2024-05-13 15:17
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册