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" />
  • 相关阅读:
    LeetCode 【1】 Two Sum --001
    计算机网络-自定向下方法之应用层
    Android TextView自动换行、排列错乱问题及解决
    Android ScrollView内部组件设置android:layout_height="fill_parent"无效的解决办法
    Gson解析空字符串异常的处理
    AndroBench手机性能测试
    使用adb命令通过IP地址连接手机
    Android string.xml 添加特殊字符
    Android string资源 包含 数学符号等特殊字符 及 参数占位符
    Android Studio多渠道打包(二)
  • 原文地址:https://www.cnblogs.com/dogeLife/p/11441080.html
Copyright © 2011-2022 走看看