generatorConfig.xml文件:

<?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" >

<generatorConfiguration >

  <classPathEntry location="C:\Users\issuser\.m2\repository\mysql\mysql-connector-java\5.1.6\mysql-connector-java-5.1.6.jar"/>

  <context id="infoGuardian" >

    <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3306/test" userId="root" password="123456" />

    <javaModelGenerator targetPackage="com.payment.ebank.paymentweb.entity" targetProject="PaymentModel\src\main\java" />

    <sqlMapGenerator targetPackage="com.payment.ebank.mapping" targetProject="PaymentModel\src\main\java" />

    <javaClientGenerator targetPackage="com.payment.ebank.mapping" targetProject="PaymentModel\src\main\java" type="XMLMAPPER" />

    <table  tableName="t_navigation" domainObjectName="Tnavigation" enableCountByExample="false" enableDeleteByExample="false" enableSelectByExample="false" enableUpdateByExample="false">

    </table>

  </context>

</generatorConfiguration>