摘要: 1、创建javaSE项目mybatis-generator,导入以下jar包,项目结构如图所示: 2、在类路径下添加log4j.properties文件 3、创建GeneratorSqlmap类 4、类路径下创建generatorConfig.xml文件 阅读全文