[resolved]Unable to launch SpongeVanilla


#1

[Google Trad]
Hello,
I wanted to install SpongeVanilla and I have this error:

[22:35:17] [main/INFO]: Extra: [–tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[22:35:17] [main/INFO]: Running with arguments: [–tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[22:35:17] [main/INFO]: Loading tweak class name org.spongepowered.server.launch.VanillaServerTweaker
[22:35:17] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: org.spongepowered.server.launch.VanillaServerTweaker
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
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_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStartServer.main(GradleStartServer.java:10) [start/:?]

The commands I typed:

git clone --recursive https://github.com/SpongePowered/SpongeVanilla.git
cd SpongeVanilla
cp scripts/pre-commit .git/hooks
./gradlew setupDecompWorkspace --refresh-dependencies
./gradlew check
./gradlew build
./gradlew eclipse

Everything is going well every time


[Fr]
Bonjour,
j’ai voulu installer SpongeVanilla et j’ai cette erreur:

[22:35:17] [main/INFO]: Extra: [–tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[22:35:17] [main/INFO]: Running with arguments: [–tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[22:35:17] [main/INFO]: Loading tweak class name org.spongepowered.server.launch.VanillaServerTweaker
[22:35:17] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: org.spongepowered.server.launch.VanillaServerTweaker
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
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_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStartServer.main(GradleStartServer.java:10) [start/:?]

Les commandes que j’ai tapé:

git clone --recursive https://github.com/SpongePowered/SpongeVanilla.git
cd SpongeVanilla
cp scripts/pre-commit .git/hooks
./gradlew setupDecompWorkspace --refresh-dependencies
./gradlew check
./gradlew build
./gradlew eclipse

Tout se passe bien a chaque fois


#2

aider moi S.V.P


#3

I don’t know if this is the same problem, but I’ve had issues in the past running setupDecompWorkspace and eclipse in separate steps. Try this instead: ./gradlew setupDecompWorkspace eclipse build


#5

Rien ne change:

[18:53:47] [main/INFO]: Extra: [--tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[18:53:47] [main/INFO]: Running with arguments: [--tweakClass, org.spongepowered.server.launch.VanillaServerTweaker]
[18:53:47] [main/INFO]: Loading tweak class name org.spongepowered.server.launch.VanillaServerTweaker
[18:53:47] [main/ERROR]: Unable to launch
java.lang.ClassNotFoundException: org.spongepowered.server.launch.VanillaServerTweaker
	at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.12.jar:?]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181]
	at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_181]
	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_181]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_181]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_181]
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
	at GradleStartServer.main(GradleStartServer.java:10) [start/:?]

Rien ne fonctionne!!!


#6

[Google Trad]
nobody as an answer to the following problem ?

[Fr]
personne a une solution a mon problème ?


#7

Try IntelliJ, if something fails there you will definitively get more help. Rarely anybody uses Eclipse.


#9

[Google Trad]
I managed to start !!! When I install, there is missing files like:
.\SpongeVanilla\bin\org\spongepowered\asm\mixin\transformer\MixinPreProcessorStandard.class
.\SpongeVanilla\bin\net\minecraftforge\common\chunkio\ChunkIOExecutor.class

I downloaded spongevanilla-1.12.2-7.1.4.jar to copy the missing files and to see the missing files and because Eclipse does not indicate the directory location of them, I use: https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

[FR]
J’ai réussi à démarrer!!! Quand j’installe il manque des fichiers par exemple:
.\SpongeVanilla\bin\org\spongepowered\asm\mixin\transformer\MixinPreProcessorStandard.class
.\SpongeVanilla\bin\net\minecraftforge\common\chunkio\ChunkIOExecutor.class

J’ai télécharger spongevanilla-1.12.2-7.1.4.jar pour copier les fichiers qui manquent et pour voir les fichiers qui manquent vu que Eclipse n’indique rien j’utilise: https://docs.microsoft.com/en-us/sysinternals/downloads/procmon