老师启动mybatis-generator出现这个错误
来源:3-5 集成Mybatis官方代码生成器

凉茶趁热喝
2022-04-25
Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.4.0:generate (default-cli) on project wiki: Public Key Retrieval is not allowed
老师这个怎么解决
写回答
1回答
-
甲蛙
2022-04-25
看下这个能不能解决:https://blog.csdn.net/qq_38140292/article/details/116583828
在generator-config.xml里的数据库连接增加一个参数:allowPublicKeyRetrieval=true
00
相似问题