美文网首页
mybatis-generator遇到的错

mybatis-generator遇到的错

作者: _小生不才_ | 来源:发表于2018-09-30 09:02 被阅读0次

错误提示:

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project core: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate failed: Cannot resolve classpath entry: C:\Users\SMZ\.m2\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


错误原因:


generatorConfig.xml文件 pom文件

generatorConfig.xml与pom中的版本不一致。

相关文章

网友评论

      本文标题:mybatis-generator遇到的错

      本文链接:https://www.haomeiwen.com/subject/pitjoftx.html