报错: Unable to set value for property driver-class-name
解决:
datasource:
url: jdbc:mysql://127.0.0.1:3306/qqying?characterEncoding=UTF-8&nullCatalogMeansCurrent=true
username: root
password: 123456
driver-class-name: com.mysql.jdbc.Driver
报错:CLIENT_PLUGIN_AUTH is required 解决:
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<!-- 数据库版本太低,用不了6.0.6的包-->
<version>5.1.47</version>
<!--<version>6.0.6</version>-->
</dependency>
报错:could not initialize proxy 解决:在出问题的实体类上加@Proxy(lazy = false)