idea使用mybatis generator plus插件自动生成实体类的过程中报错。

提示错误:Generate Failed: Cause:Cannot load connection class because of underlying exception: com.mysql.cj.exceptions.WrongArgumentException: Malformed database URL, failed to parse the connection string near '=false'.

原因分析:mysql驱动版本不一致

解决方法:

把原来的database删除

新创建database,driver选择5.1的版本即可

 

更多推荐