麻烦大佬看一下,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:
另外项目内有些包解析不了,问一下大佬什么原因
spring boot依赖引入和Yaml配置检查一下呢
数据库连接信息或者驱动相关的
解决了,谢谢大佬