SSM逆向工程:错误记录

本文记录了在使用SSM框架进行逆向工程时遇到的四个错误及其解决方案:1)JDBC Driver获取失败,通过在generatorConfig.xml添加jdbc驱动路径解决;2)未找到数据库表,检查是否已在数据库创建对应表;3)Maven编译插件版本缺失,补充版本号即可;4)Maven settings.xml文件中出现未知标签问题,注释或修正该标签恢复正常。

最近做一个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插件的版本号,添加之后没有报错。

4、Some problems were encountered w

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值