wide
报错信息:
`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 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 local are currently active).`
问题原因:
原因是数据源没有指定,不知道url要执行哪里,应该是我们的pom.xml文件中导入了依赖但是却没有指定数据源导致的.
正常应该是要配置的如下信息的