Skip to content

[7.0] Debug in Eclipse fails if using mixin #1078

Description

@Lupicus

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions