bladex-boot是否必须连接数据库才能运行

Blade 未结 2 498
luoyx
luoyx 2022-09-08 11:19

一、该问题的重现步骤是什么?

1. bladex-boot是不是必须连接数据库吗?如果不是,那么如何取消数据库连接,最终想要的效果就是不用连接数据库就可以运行

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。


五、若有更多详细信息,请在下面提供。

2条回答
  •  gtfhao
    gtfhao (楼主)
    2022-09-08 13:29

    可以配置无数据源启动

    作者追问:2022-09-08 13:29

    试了,删掉了很多依赖也不行,如下图报错

    image.png

    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 (the profiles dev are currently active).


提交回复