最近做一个SSM的项目,在做逆向工程的时候出现了几个错误,记录一下:
1、Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate (default-cli) on project Mall: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.6:generate failed: Exception getting JDBC Driver
在generatorConfig.xml文件中添加了jdbc驱动包的绝对路径,解决了问题。
2、[WARNING] Table configuration with catalog null, schema null, and table admin did not resolve to any tables
数据库里没有创建表
3、Some problems were encountered while building the effective model for com.lixiang:Mall:war:1.0
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 172, column 15
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
pom.xml文件缺少plugin插件的版本号&#x