Springboot throws Failed to determine a suitable driver class cause of abnormal

SpringBoot project has been dependent on the MySQL driver, but still can not start, through the issue ruled out, if the project is started, then the value pom

<packaging>pom</packaging>


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


You can not be defined in the POM file

Guess you like

Origin www.cnblogs.com/XingXiaoMeng/p/11588666.html