Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 jackson-databind 2.22.0 版本不存在,会导致依赖解析失败 · 📎 pom.xml:51-55

本次变更新增的 jackson-databind 依赖指定版本为 2.22.0。Jackson 2.x 系列目前并不存在 2.22.0 这一发布版本(截至当前最新为 2.1x 系列)。该坐标无法从中央仓库解析,会直接导致 Maven 构建失败。此外该版本与下方已声明的 jackson-annotations 2.13.5 存在严重的版本错配,Jackson 各模块(databind/annotations/core)应保持同一版本线,混用极易引发运行时 NoSuchMethodError/不兼容问题。建议统一为一个真实存在且彼此匹配的版本。

Suggestion: 将 jackson-databind 改为真实存在且与 jackson-annotations 一致的版本,并保持 Jackson 各模块版本统一(建议同时升级 annotations)。

Suggested change
<groupId>com.fasterxml.jackson.core</groupId>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.5</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>

🤖 Scanner

<artifactId>jackson-databind</artifactId>
<version>2.13.4.1</version>
<version>2.22.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down