Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当mods文件夹存在依赖于snakeyaml的mod,arclight 无法启动 #1624

Open
5 tasks done
Hypocisy opened this issue Jan 16, 2025 · 1 comment
Open
5 tasks done
Labels
Tag: Mod Specific mod related issue Tag: Triage | 待检查 Default label, waiting for triage Tag: Waiting for Inspect | 等待处理 This is waiting for resolve Version: Feudal Kings (1.21/1.21.1)

Comments

@Hypocisy
Copy link

请确认您已完成以下几件事

  • 正在使用最新的 Arclight
  • 已为所有插件及模组安装依赖
  • 已为所有插件及模组更新至最新版
  • 不可在 Spigot 复现
  • 不可在 Forge 复现

Arclight 版本

arclight-1.21.1-1.0.0-SNAPSHOT-ddf420b

Java 版本 | 操作系统

openjdk version "21.0.4" 2024-07-16 LTS OpenJDK Runtime Environment Zulu21.36+17-CA (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Zulu21.36+17-CA (build 21.0.4+7-LTS, mixed mode, sharing)

相关 Mod/插件 的名称及版本

Checking appliedenergistics2-19.1.2-beta.jar
        0  12-22-2024 20:19   META-INF/maven/org.yaml/snakeyaml/
       51  09-26-2022 06:52   META-INF/maven/org.yaml/snakeyaml/pom.properties
    38597  09-26-2022 06:51   META-INF/maven/org.yaml/snakeyaml/pom.xml
Checking cloth-config-15.0.140-neoforge.jar
        0  01-01-1980 00:00   META-INF/maven/org.yaml/snakeyaml/
      126  01-01-1980 00:00   META-INF/maven/org.yaml/snakeyaml/pom.properties
    37228  01-01-1980 00:00   META-INF/maven/org.yaml/snakeyaml/pom.xml
Checking OctoLib-NEOFORGE-0.5.0.1.jar
   344685  01-01-1980 00:00   META-INF/jars/snakeyaml-2.2.jar
Checking servercore-neoforge-1.5.5+1.21.1.jar
    22928  01-01-1980 00:00   META-INF/jars/dazzleconf-ext-snakeyaml-1.3.0-M2.jar
   337133  01-01-1980 00:00   META-INF/jars/snakeyaml-2.2.jar

错误描述

当安装带有snakeyaml依赖的mod时,服务端无法正常启动。推断是arclight无法正确处理与arclight自身重复依赖关系的任意mod,导致无法启动服务端。

复现步骤

  1. 安装任意带有snakeyaml依赖的mod
  2. 启动arclight-1.21.1-1.0.0-SNAPSHOT-ddf420b
  3. 服务端报错:https://mclo.gs/Z9OmH0t
  4. 只安装相关mod时服务端也报错:https://mclo.gs/NJuMSdl

报错信息

正常启动整合包:https://mclo.gs/NJuMSdl
只安装相关mod启动:https://mclo.gs/NJuMSdl

复现用压缩包下载链接(可选)

https://github.com/user-attachments/files/18439735/mods.zip

@Hypocisy Hypocisy added the Tag: Triage | 待检查 Default label, waiting for triage label Jan 16, 2025
@Hypocisy
Copy link
Author

Hypocisy commented Jan 16, 2025

在arclight-1.20.1-1.0.6-SNAPSHOT-1345853上安装对应的mod时可以正常启动
并且提示跳过了重复的依赖
https://mclo.gs/1BT76ut

[161月2025 21:05:51.910] [main/INFO] [ArclightJiJ/]: Skip jij dependency org.yaml.snakeyaml@null because Arclight has [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tag: Mod Specific mod related issue Tag: Triage | 待检查 Default label, waiting for triage Tag: Waiting for Inspect | 等待处理 This is waiting for resolve Version: Feudal Kings (1.21/1.21.1)
Projects
None yet
Development

No branches or pull requests

2 participants