springboot调用dubbo服务的时候,启动项目出现:
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).
网上找的很多方法都试了还是没有,最后发现导致问题出现的是application.yml这个配置文件,删除这个配置文件之后,使用application.properties配置文件之后问题解决。