I’m trying to run a Pixelmon server but run into an issue where Spongeneo and the Pixelmon mod try to export several of the same things at the same time. It causes the server to just crash. One of the things they both try loading is io.leangen.geantyref as seen in this crash here. There are other issues as well when the io.leangengeantyref is solved. This is using the Latest Spongeneo and Pixelmon for 1.21.1. Specifically Pixelmon 9.3.1 and Spongeneo 21.1.35-12.0.1
Exception in thread “main” java.lang.module.ResolutionException: Modules spongeneo.services and pixelmon export package io.leangen.geantyref to module org.spongepowered.configurate.gson
at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:900)
at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:814)
at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:735)
at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
at java.base/java.lang.module.Configuration.(Configuration.java:139)
at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:493)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:75)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.buildTransformingClassLoader(TransformationServicesHandler.java:54)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:101)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)