Failed to configure a DataSource: 'url' attribute is not sprcified and no embedded datasource could be configured
意思是:
找不到数据源中的路径地址;
出现原因:
当模块的pom.xml文件中导了JDBC mysql 但没有配置和使用就会导致这个错误的出现。
解决方法:
可在yml文件中配置 datasource 的相关信息即可。
Failed to configure a DataSource: 'url' attribute is not sprcified and no embedded datasource could be configured
意思是:
找不到数据源中的路径地址;
出现原因:
当模块的pom.xml文件中导了JDBC mysql 但没有配置和使用就会导致这个错误的出现。
解决方法:
可在yml文件中配置 datasource 的相关信息即可。