springboot啓動報錯:Reason: Failed to determine suitable jdbc url


***************************
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 suitable jdbc url


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

上午還好好的,下午就這樣了,沒動過配置沒改過代碼……

包無衝突,配置文件也ok

原因我也不知道,正在找(手動崩潰一下)找到了就來更新


試了多種方法無濟於事,一怒之下刪了項目重新clone,好了。。。。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章