标签:exec drive mysql mave sources tis generator rate except
springboot整合mybatis时出现的问题
解决方法:在pom.xml中plugin中加入单独依赖Mysql驱动包,问题便可解决
<plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.2</version> <configuration> <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile> <overwrite>true</overwrite> <verbose>true</verbose> </configuration> <!--加入下面这个依赖--> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>${mysql.version}</version> </dependency> </dependencies> </plugin>
标签:exec drive mysql mave sources tis generator rate except
原文地址:https://www.cnblogs.com/lwyang/p/9864948.html