老师启动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

下载视频          

0
0

Spring Boot+Vue3前后端分离,实战wiki知识库系统

一课掌握前后端最火框架,更有职场竞争力

2524 学习 · 1671 问题

查看课程