[7.0] Debug in Eclipse fails if using mixin
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- build-system, developer-experience
Research direction
Reproduce the issue with the mixin MDK example using the generated Eclipse launch files, then compare that path with the working runClient Gradle task. Trace the launch configuration until the module resolution error involving mixinextras.common and MixinExtras is isolated; done means Eclipse debug and run launch successfully.
Written by the indexing model from the issue text.
Description
I'm using the mixin MDK example (it uses MC 1.21.11) and it works when using the runClient gradle task, but fails using the generated Eclipse launch files for debug or run with this error:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at net.minecraftforge.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133)
at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53)
at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19)
at net.minecraftforge.launcher.Main$Launcher.run(Main.java:276)
at net.minecraftforge.launcher.Main$Launcher.access$000(Main.java:262)
at net.minecraftforge.launcher.Main.main(Main.java:57)
Caused by: java.lang.module.ResolutionException: Modules mixinextras.common and MixinExtras export package com.llamalad7.mixinextras.lib.semver.util to module net.minecraftforge.forge
- Dominant language
- Java
- Stars
- 574
- Forks
- 450
- Avg merge
- 16h 20m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MinecraftForge/ForgeGradle
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
MinecraftForge/ForgeGradle#1088 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
MinecraftForge/ForgeGradle#1087 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
MinecraftForge/ForgeGradle#1076 ·
-
MinecraftForge/ForgeGradle#1058 · 12 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
MinecraftForge/ForgeGradle#1057 ·
All issues in MinecraftForge/ForgeGradle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100