李辛夷. 2022-02-16 20:56 采纳率: 0%
浏览 100

ideal一直报这个错误

可是数据库配置弄好了
报错显示如下
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-02-16 20:38:59.746 ERROR 11140 --- [ 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).

Process finished with exit code 0

  • 写回答

4条回答 默认 最新

  • CSDN专家-sinJack 2022-02-16 21:02
    关注

    无法配置DataSource:未指定’url’属性,也无法配置嵌入数据源

    可能是.properties文件中datasource的配置出现错误,例如:地址值,数据库驱动,用户名,密码。

    评论

报告相同问题?

问题事件

  • 创建了问题 2月16日