一、该问题的重现步骤是什么?
启用多数据源,项目启动时报错:
***************************
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 (the profiles dev are currently active).
配置如下:
全是按照demo里面多数据源配置的,启动不起来
二、你期待的结果是什么?实际看到的又是什么?
项目启动
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
4.0.1.RELEASE
四、请提供详细的错误堆栈信息,这很重要。
***************************
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 (the profiles dev are currently active).
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端