• 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++ 课程设计——电梯调度系统
    PAT 1006 Sign In and Sign Out 查找元素
    PAT 1005 Spell It Right 字符串处理
    C++ 词汇表
    四六级分数竟是这样算出来的!交白卷都不会得零分 (转)
    以太坊智能合约部署
    如何设计一个通证经济体系?(转载)
    以太坊上那些暴力“利”的应用(转载)
    geth搭建以太坊私链及常用操作
    ubuntu18.04 安装 QQ
  • 原文地址:https://www.cnblogs.com/dogeLife/p/11441080.html
Copyright © 2020-2023  润新知