mybatis-generator-maven-plugin:Communications link failure

一笑奈何 提交于 2020-02-27 10:56:06

使用 mybatis-generator 的 maven 插件可能会报出如下问题

Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-cli) on project MyProject: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

一般来说,这种情况是数据库url写错了

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!