问题截图:

在这里插入图片描述

问题描述:

提示:我在运行测试mybatisplus的自动生成代码是遇到的,同一个父项目下运行生成器出现的问题,爆出的错误好像是druid的版本不太行,我的JDK是1.8_271的对应的druid应该是1.1.20的版本

[INFO] 
[INFO] --------------------< com.xuecheng:xc-mp-generator >--------------------
[INFO] Building xc-mp-generator 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.alibaba:druid:jar:1.1.21 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
The POM for com.alibaba:druid:jar:1.1.21 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details


[INFO] 
[INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ xc-mp-generator ---


解决方案:

提示:把druid的版本改成1.1.20的,重新运行,成功.

在这里插入图片描述

GitHub 加速计划 / de / Dependencies
42
2
下载
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:4 个月前 )
1997a400 - 4 年前
2f423539 - 4 年前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐