修改pom文件,逆向工程如下:
<!-- 逆向工程 -->
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.7</version>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.42</version>
</dependency>
</dependencies>
</plugin>
原文地址:https://www.cnblogs.com/xingrui/p/10262129.html
时间: 2024-10-10 17:59:11