Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MakesYT opened this issue Oct 2, 2024 · 4 comments

Comments

@MakesYT
Copy link

MakesYT commented Oct 2, 2024

在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
Copy link
Member

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

@MakesYT
Copy link
Author

MakesYT commented Oct 7, 2024

這是用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
Copy link
Member

請給整個log

@MakesYT
Copy link
Author

MakesYT commented Oct 8, 2024

debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants