CleanroomMC / TemplateDevEnv

Template workspace for modding Minecraft 1.12.2
MIT License
88 stars 33 forks source link

Provider org.spongepowered.asm.service.modlauncher.MixinServiceModLauncherBootstrap not found #34

Open MakesYT opened 2 months ago

MakesYT commented 2 months ago

在debug.log中显示 JDK 8_422 Adopt J9

[12:18:41] [main/DEBUG] [mixin]: Catching java.util.ServiceConfigurationError:org.spongepowered.asm.service.IMixinServiceBootstrap: Provider org.spongepowered.asm.service.modlauncher.MixinServiceModLauncherBootstrap not found initialising service
java.util.ServiceConfigurationError: org.spongepowered.asm.service.IMixinServiceBootstrap: Provider org.spongepowered.asm.service.modlauncher.MixinServiceModLauncherBootstrap not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:246) ~[?:1.8.0_422]
    at java.util.ServiceLoader.access$300(ServiceLoader.java:192) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:419) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:330) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:455) ~[?:1.8.0_422]
    at java.security.AccessController.doPrivileged(AccessController.java:716) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:457) ~[?:1.8.0_422]
    at java.util.ServiceLoader$1.next(ServiceLoader.java:528) ~[?:1.8.0_422]
    at org.spongepowered.asm.service.MixinService.runBootServices(MixinService.java:166) ~[mixinbooter-9.1.jar:?]
    at org.spongepowered.asm.service.MixinService.<init>(MixinService.java:143) ~[mixinbooter-9.1.jar:?]
    at org.spongepowered.asm.service.MixinService.getInstance(MixinService.java:184) [mixinbooter-9.1.jar:?]
    at org.spongepowered.asm.service.MixinService.boot(MixinService.java:194) [mixinbooter-9.1.jar:?]
    at org.spongepowered.asm.launch.MixinBootstrap.<clinit>(MixinBootstrap.java:87) [mixinbooter-9.1.jar:?]
    at org.spongepowered.asm.launch.MixinTweaker.<init>(MixinTweaker.java:46) [mixinbooter-9.1.jar:?]
    at java.lang.J9VMInternals.newInstanceImpl(Native Method) [?:1.8.0_422]
    at java.lang.Class.newInstance(Class.java:2130) [?:1.8.0_422]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:98) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_422]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_422]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_422]
    at java.lang.reflect.Method.invoke(Method.java:503) ~[?:1.8.0_422]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:87) [mclauncher-1.12.2.jar:?]
    at GradleStart.main(GradleStart.java:19) [mclauncher-1.12.2.jar:?]

最小示例 https://github.com/MakesYT/1.12.2forge

Rongmario commented 2 months ago

這是用IBM Semeru而不是Adopt喔, 我們沒有支援IBM Semeru.

MakesYT commented 1 month ago

這是用IBM Semeru而不是Adopt喔, 我們沒有支援IBM Semeru.

gradle 自动配置的java 依旧这样

[21:07:21] [main/DEBUG] [mixin]: Catching java.util.ServiceConfigurationError:org.spongepowered.asm.service.IMixinServiceBootstrap: Provider org.spongepowered.asm.service.modlauncher.MixinServiceModLauncherBootstrap not found initialising service
java.util.ServiceConfigurationError: org.spongepowered.asm.service.IMixinServiceBootstrap: Provider org.spongepowered.asm.service.modlauncher.MixinServiceModLauncherBootstrap not found
    at java.util.ServiceLoader.fail(ServiceLoader.java:239) ~[?:1.8.0_422]
    at java.util.ServiceLoader.access$300(ServiceLoader.java:185) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407) ~[?:1.8.0_422]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_422]
    at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409) ~[?:1.8.0_422]
    at java.util.ServiceLoader$1.next(ServiceLoader.java:480) ~[?:1.8.0_422]
    at org.spongepowered.asm.service.MixinService.runBootServices(MixinService.java:166) ~[mixinbooter-9.3.jar:?]
    at org.spongepowered.asm.service.MixinService.<init>(MixinService.java:143) ~[mixinbooter-9.3.jar:?]
    at org.spongepowered.asm.service.MixinService.getInstance(MixinService.java:184) [mixinbooter-9.3.jar:?]
    at org.spongepowered.asm.service.MixinService.boot(MixinService.java:194) [mixinbooter-9.3.jar:?]
    at org.spongepowered.asm.launch.MixinBootstrap.<clinit>(MixinBootstrap.java:87) [mixinbooter-9.3.jar:?]
    at org.spongepowered.asm.launch.MixinTweaker.<init>(MixinTweaker.java:46) [mixinbooter-9.3.jar:?]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_422]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_422]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_422]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_422]
    at java.lang.Class.newInstance(Class.java:442) [?:1.8.0_422]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:98) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_422]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_422]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_422]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_422]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:87) [mclauncher-1.12.2.jar:?]
    at GradleStart.main(GradleStart.java:19) [mclauncher-1.12.2.jar:?]
Rongmario commented 1 month ago

請給整個log

MakesYT commented 1 month ago

debug.log