mybatis generator出错:#HY000

我是用的eclipse-generator插件,之前用一直没事,但是不知道今天为什么一直报错,求大牛指点 错误信息

下面是我的配置:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >

location="C:/Users/yanpin/.m2/repository/mysql/mysql-connector-java/5.1.42/mysql-connector-java-5.1.42.jar" />

<context id="mySql">

    <jdbcConnection driverClass="com.mysql.jdbc.Driver"
        connectionURL="jdbc:mysql://197.255.20.22:8066/AdminDB" userId="root"
        password="mycat" />

    <javaTypeResolver>
        <property name="forceBigDecimals" value="false" />
    </javaTypeResolver>

    <!-- 生成模型的包名和位置 -->
    <javaModelGenerator
        targetPackage="com.yijiupi.himalaya.supplychain.orgSettings.domain.po"
        targetProject="himalaya-supplychain-microservice-orgSettings-provider">
        <property name="enableSubPackages" value="true" />
        <property name="trimStrings" value="true" />
    </javaModelGenerator>

    <!-- 生成映射文件的包名和位置 -->
    <sqlMapGenerator targetPackage="mappings"
        targetProject="himalaya-supplychain-microservice-orgSettings-provider\src\main\resources">
        <property name="enableSubPackages" value="true" />
    </sqlMapGenerator>

    <!-- 生成DAO的包名和位置 -->
    <javaClientGenerator type="XMLMAPPER"
        targetPackage="com.yijiupi.himalaya.supplychain.orgSettings.domain.dao"
        targetProject="himalaya-supplychain-microservice-orgSettings-provider">
        <property name="enableSubPackages" value="true" />
    </javaClientGenerator>



    <table tableName="adminuser" domainObjectName="AdminUserPO"
        enableCountByExample="false" enableUpdateByExample="false"
        enableDeleteByExample="false" enableSelectByExample="false"
        selectByExampleQueryId="false">
        <property name="useActualColumnNames" value="true"/>
    </table> 


</context>

再次感谢

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐