zoukankan      html  css  js  c++  java
  • mybatis bug (一):Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin

    在利用 mybatis 生成对应数据库的映射的时候,报错信息如下

    1 [ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate (default-cli) on project miaosha: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.7:generate failed: Cannot resolve classpath entry: /Program Files/IBM/SQLLIB/java/db2java.zip -> [Help 1]
    2 [ERROR] 
    3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    4 [ERROR] Re-run Maven using the -X switch to enable full debug loggin

    解决方法:注释掉从官方文档复制的

    1 <classPathEntry location="/Program Files/IBM/SQLLIB/java/db2java.zip" />
  • 相关阅读:
    C#屏幕截图
    WPF转换器用法示例
    WPF自定义数字输入框控件
    LINQ 用法,返回结果不是在定义时取值,而是在调用时实时取值,有意思!
    类泛型--必须继承接口
    wpf在异步中给前台赋值
    VS Code中Matlab插件安装设置
    Python 自动给数字前面补0
    Tensorflow (1)
    解决Keras在IDE集成环境中找不到nvcc
  • 原文地址:https://www.cnblogs.com/dogeLife/p/11441080.html
Copyright © 2011-2022 走看看