Posted April 1, 20241 yr I make a mod addon for Iron Spells mod. I exported the mod from Intelij and created the jar file, but when I add the mod and the dependencies on mods folder, Minecraft simply start the laucher and close. There is no crash log, it just stops working and appears "exit code 1". But if I start Minecraft by running it on Intelij it opens normally, In this link I put my most recent log https://mclo.gs/x7Snsm1 . If anyone has been through this and can help me I would really appreciate it. ❤️
April 1, 20241 yr the log says your "is missing mods.toml file" check your toml file on "/src/main/resources/META-INF/mods.toml"
April 2, 20241 yr Author Yes, the file is exactly in that path, this is the config I have inside it https://mclo.gs/p77s5Vo
April 3, 20241 yr Author Exception in thread "main" java.lang.module.ResolutionException: Module JarJarMetadata reads more than one module named cpw.mods.securejarhandler at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901) at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:722) at java.base/java.lang.module.Resolver.finish(Resolver.java:380) at java.base/java.lang.module.Configuration.<init>(Configuration.java:140) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494) at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:298) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:129) this is causing the exit 1 in my mod. Does anyone know how I can solve this problem?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.