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

Module named org.objectweb.asm.tree.analysis was already on the JVMs module path #1540

Closed
bonndan opened this issue Sep 13, 2024 · 1 comment · Fixed by neoforged/NeoGradle#244
Labels
1.21.1 Targeted at Minecraft 1.21.1 bug A bug or error regression Worked previously but doesn't anymore

Comments

@bonndan
Copy link

bonndan commented Sep 13, 2024

Minecraft Version: 1.21.1

NeoForge Version: 21.1.51

Logs:

This issues has also been reported on discord: https://discord.com/channels/313125603924639766/1249305774987939900/1284093357186088970

2024-09-13T16:57:07.708+0200 [ERROR] [system.err] Exception in thread "main" java.lang.IllegalStateException: Module named org.objectweb.asm.tree.analysis was already on the JVMs module path loaded from ...gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\9.7\e4a258b7eb96107106c0599f0061cfc1832fe07a\asm-analysis-9.7.jar but class-path contains it at location ....gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\9.5\490bacc77de7cbc0be1a30bb3471072d705be4a4\asm-analysis-9.5.jar
2024-09-13T16:57:07.708+0200 [ERROR] [system.err] 	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:139)
2024-09-13T16:57:07.709+0200 [ERROR] [system.err] 	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)

Steps to Reproduce:

  1. Use the latest version 21.1.51
  2. runClient / runServer

Description of issue:

cpw.mods.bootstraplauncher.BootstrapLauncher throws an exception that as module named org.objectweb.asm.tree.analysis (9.7) was already on the JVMs module path

asm-analysis 9.5 is introduced by net.neoforged:mergetool:2.0.3 e.g. in the step neoGradleInternalUnhandledNeoFormMinecraftDependenciesForneoFormJoined1.21.1-20240808.144430 while all other parts depend on version 9.7

Even the latest versions of mergetool https://maven.neoforged.net/releases/net/neoforged/mergetool seem to depend on 9.5

There is an "ignoreList" system property used in BootstrapLauncher , but I dont know how to modify it.

@bonndan bonndan added the triage Needs triaging and confirmation label Sep 13, 2024
AnonymousHacker1279 added a commit to AnonymousHacker1279/ImmersiveWeapons that referenced this issue Sep 17, 2024
Initial untested port to MC 1.21.1. Compile errors are gone, but I can't seem to run anything due to a bug: neoforged/NeoForge#1540
@quat1024
Copy link

Latest working version of neoforge is 21.1.47 btw, for anyone else coming here from google. (because this info was buried in fucking discord)

@sciwhiz12 sciwhiz12 added bug A bug or error regression Worked previously but doesn't anymore 1.21.1 Targeted at Minecraft 1.21.1 labels Sep 22, 2024
@sciwhiz12 sciwhiz12 removed the triage Needs triaging and confirmation label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21.1 Targeted at Minecraft 1.21.1 bug A bug or error regression Worked previously but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants