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 (the profiles me are currently active).
应该不会有我这种傻逼把datasource 写在server 底下调了半天没调出来吧。。
server:
# port: 8081
port: 8082
datasource:
要放这
spring:
datasource:
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)