[Solved] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6…

Error message:Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project hzl-vehicle: Communications link failure
Reason:MySQL needs to specify whether to connect to SSL in higher versions
The & symbol is recognized as a special character in the idea, so replace the &amp. with an escape character;
<! –> Database connection configuration –>
<jdbcConnection driverClass=”com.mysql.jdbc.Driver”
userId=”hzl” password=”hzl_repair” />

Similar Posts: