Problème java serveur UBUNTU

samoo

Nouveau
19 Décembre 2020
8
0
1
19
Bonjour,

j'aimerais avoir de l'aide sur un serveur minecraft que j'ai fait passer depuis peu sur Ubuntu 20.04 et lorsque j'essaye de le lancer un message d'erreur s'affiche :
Code:
[12:25:10] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[12:25:10] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[12:25:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[12:25:10] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2854 for Minecraft 1.12.2 loading
[12:25:10] [main/INFO] [FML]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_275, running on Linux:amd64:5.4.0-58-generic, installed at /usr/lib/jvm/java-8-openjdk-amd64/jre
[12:25:10] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.RuntimeException: An error occurred trying to configure the Minecraft home at /home/samuel/Bureau/Latohsega V.3/. for Forge Mod Loader
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:111) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupServer(FMLLaunchHandler.java:87) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.configureForServerLaunch(FMLLaunchHandler.java:47) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.common.launcher.FMLServerTweaker.injectIntoClassLoader(FMLServerTweaker.java:62) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:115) [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_275]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_275]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_275]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_275]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2854.jar:?]
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/artifact/versioning/ArtifactVersion
    at net.minecraftforge.fml.relauncher.libraries.LibraryManager.findLibraryFolder(LibraryManager.java:126) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.libraries.LibraryManager.setup(LibraryManager.java:77) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:106) ~[forge-1.12.2-14.23.5.2854.jar:?]
    ... 11 more
Caused by: java.lang.ClassNotFoundException: org.apache.maven.artifact.versioning.ArtifactVersion
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_275]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_275]
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) ~[?:1.8.0_275]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_275]
    at net.minecraftforge.fml.relauncher.libraries.LibraryManager.findLibraryFolder(LibraryManager.java:126) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.libraries.LibraryManager.setup(LibraryManager.java:77) ~[forge-1.12.2-14.23.5.2854.jar:?]
    at net.minecraftforge.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:106) ~[forge-1.12.2-14.23.5.2854.jar:?]
    ... 11 more
A problem occurred running the Server launcher.[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: java.lang.reflect.InvocationTargetException
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at java.lang.reflect.Method.invoke(Method.java:498)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]:     at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at java.lang.Runtime.exit(Runtime.java:107)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at java.lang.System.exit(System.java:973)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[12:25:10] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]:     ... 6 more

j'ai d'abort pensée a un message d'erreur java mais meme apres une réinstallation complète de se dernier rien ne marche
a savoir qu'il y a encore deux semaine tout marchais tres bien ( je n'ai pas touché a la config depuis ).

le tuto d'installation java que j'ai suivi est ici :
et mon script SH pour lancer mon serveur est :

java -Xms1024M -Xmx2048M -jar forge-1.12.2-14.23.5.2854.jar -o true
read touch

merci de votre aide

ps : ma version java est : openjdk-8-jdk
mon serveur forge est en 1.12.2
 
Dernière édition par un modérateur:

robin4002

Expert en informatique et systèmes d'information
Staff
Responsable technique
Responsable forum
12 Novembre 2012
18 349
65
2 854
347
23
Alsace
www.minecraftforgefrance.fr
Bonjour,

Vu l'erreur, je pense que le fichier minecraft_server1.12.2.jar est manquant (il ne faut ni le supprimer, ni le renommer).