Unable to class load the plugin java.lang.ClassNotFoundException: org.spongepowered.mod.SpongeCoremod


#1

Bonjour.
Je suis Français et je parle pas Anglais.

J’ai cette erreur:

[00:07:24] [main/INFO] [FML]: Found a command line coremod : org.spongepowered.mod.SpongeCoremod
[00:07:24] [main/ERROR] [FML]: Coremod org.spongepowered.mod.SpongeCoremod: Unable to class load the plugin java.lang.ClassNotFoundException: org.spongepowered.mod.SpongeCoremod

Si je lance cette commande:

./gradlew runServer

Sponge fonctionne:

[01:07:50] [main/INFO] [FML]: Found a command line coremod : org.spongepowered.mod.SpongeCoremod
[01:07:50] [main/INFO] [FML]: Ignoring missing certificate for coremod SpongeCoremod (org.spongepowered.mod.SpongeCoremod), as this is probably a dev workspace

[…]

[01:08:36] [Server thread/INFO] [Sponge]: Loading world [world] (overworld)

Donc!!! Eclipse a chié dans la cool on dirait.
Je sais pas comment corriger le problème. Quelqu’un peut m’aider ?

Autre erreur:

Description Resource Path Location Type
Build path contains duplicate entry: ‘C:Users/admin/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.25/da76ca59f6a57ee3102f8f9bd9cee742973efa8a/slf4j-api-1.7.25.jar’ for project ‘testmods’ testmods Build path Build Path Problem
Project ‘SpongeCommon’ is missing required library: ‘G:\Sponge\SpongeForge\SpongeCommon\SpongeAPI\build\resources\test’ SpongeCommon Build path Build Path Problem
Project ‘testmods’ is missing required library: ‘G:\Sponge\SpongeForge\build\classes\api’ testmods Build path Build Path Problem
Project ‘testmods’ is missing required library: ‘G:\Sponge\SpongeForge\build\resources\api’ testmods Build path Build Path Problem
Project ‘testmods’ is missing required library: ‘G:\Sponge\SpongeForge\SpongeCommon\build\resources\java6’ testmods Build path Build Path Problem
The project cannot be built until build path errors are resolved SpongeCommon Unknown Java Problem
The project cannot be built until build path errors are resolved testmods Unknown Java Problem
The project was not built since it depends on testmods, which has build path errors SpongeForge Unknown Java Problem

#3

En premier, pour demarrer le serveur avec SpongeForge en IDE, vous devrez lancer comme un application de GradleStartServer, pas gradle runServer. Le problème avec le task runServer c’est que ça n’utilise pas le bonne groupe des dependences (comme slf4j, SpongeCommon, etc.).

Réessayez comme ça. Sinon, vous pouvez regarder la video de Mumfrey sur Youtube: https://youtu.be/R8NcakQtHVI?t=389


#4

Je fais ça ou ? J’ai pas trop bien comprit, dans main class j’ai déja “GradleStartServer” et vm arguments:

-Dfml.coreMods.load=org.spongepowered.mod.SpongeCoremod -DFORGE_FORCE_FRAME_RECALC=true

j’ai installé comme dans le tuto: https://github.com/SpongePowered/SpongeForge


#5

Apparemment il manquait des fichiers étranges quand même, mais ça ne marche toujours pas:

latest.log

[13:31:07] [Server thread/INFO] [Sponge]: Checking for worlds that need to be migrated…
[13:31:07] [Server thread/INFO] [Sponge]: No worlds were found in need of migration.
[13:34:16] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1048) ~[ZipFileSystem.class:1.8.0_181]
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130) ~[ZipFileSystem.class:1.8.0_181]
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117) ~[ZipFileSystemProvider.class:1.8.0_181]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_181]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_181]
at net.minecraft.advancements.AdvancementManager.loadBuiltInAdvancements(AdvancementManager.java:162) ~[AdvancementManager.class:?]
at net.minecraft.advancements.AdvancementManager.reload(AdvancementManager.java:69) ~[AdvancementManager.class:?]
at net.minecraft.advancements.AdvancementManager.(AdvancementManager.java:61) ~[AdvancementManager.class:?]
at net.minecraft.world.WorldServer.init(WorldServer.java:162) ~[WorldServer.class:?]
at org.spongepowered.common.world.WorldManager.createWorldFromProperties(WorldManager.java:803) ~[WorldManager.class:1.12.2-7.1.3-SNAPSHOT]
at org.spongepowered.common.world.WorldManager.loadAllWorlds(WorldManager.java:771) ~[WorldManager.class:1.12.2-7.1.3-SNAPSHOT]
at net.minecraft.server.MinecraftServer.loadAllWorlds(MinecraftServer.java:3759) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:273) ~[DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
[13:34:18] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: G:\Sponge\SpongeForge\run.\crash-reports\crash-2018-10-26_13.34.18-server.txt
[13:34:18] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[13:34:18] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[13:34:23] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds
[13:34:24] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds

debug.log

[13:33:27] [Server thread/TRACE] [mixin]: Added class metadata for net/minecraftforge/event/terraingen/ChunkGeneratorEvent to metadata cache
[13:33:34] [Server thread/DEBUG] [mixin]: Mixing util.MixinClassInheritanceMultiMap from mixins.common.core.json into net.minecraft.util.ClassInheritanceMultiMap
[13:34:16] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1048) ~[ZipFileSystem.class:1.8.0_181]
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130) ~[ZipFileSystem.class:1.8.0_181]
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117) ~[ZipFileSystemProvider.class:1.8.0_181]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_181]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_181]
at net.minecraft.advancements.AdvancementManager.loadBuiltInAdvancements(AdvancementManager.java:162) ~[AdvancementManager.class:?]
at net.minecraft.advancements.AdvancementManager.reload(AdvancementManager.java:69) ~[AdvancementManager.class:?]
at net.minecraft.advancements.AdvancementManager.(AdvancementManager.java:61) ~[AdvancementManager.class:?]
at net.minecraft.world.WorldServer.init(WorldServer.java:162) ~[WorldServer.class:?]
at org.spongepowered.common.world.WorldManager.createWorldFromProperties(WorldManager.java:803) ~[WorldManager.class:1.12.2-7.1.3-SNAPSHOT]
at org.spongepowered.common.world.WorldManager.loadAllWorlds(WorldManager.java:771) ~[WorldManager.class:1.12.2-7.1.3-SNAPSHOT]
at net.minecraft.server.MinecraftServer.loadAllWorlds(MinecraftServer.java:3759) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:273) ~[DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_181]
[13:34:18] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: G:\Sponge\SpongeForge\run.\crash-reports\crash-2018-10-26_13.34.18-server.txt
[13:34:18] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[13:34:18] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[13:34:19] [Server thread/DEBUG] [mixin]: Mixing data.MixinDataHolder from mixins.common.core.json into org.spongepowered.common.entity.player.SpongeUser
[13:34:19] [Server thread/DEBUG] [mixin]: Mixing command.MixinSubject from mixins.common.core.json into org.spongepowered.common.entity.player.SpongeUser
[13:34:19] [Server thread/DEBUG] [mixin]: Mixing data.MixinCustomDataHolder from mixins.common.core.json into org.spongepowered.common.entity.player.SpongeUser
[13:34:20] [Server thread/DEBUG] [mixin]: Mixing entity.player.MixinSpongeUser from mixins.common.core.json into org.spongepowered.common.entity.player.SpongeUser
[13:34:22] [Server thread/DEBUG] [mixin]: Mixing inventory.MixinInventoryEnderChest from mixins.common.core.json into net.minecraft.inventory.InventoryEnderChest
[13:34:22] [Server thread/DEBUG] [mixin]: Mixing item.inventory.MixinTraitInventory from mixins.common.core.json into net.minecraft.inventory.InventoryBasic
[13:34:22] [Server thread/DEBUG] [mixin]: Mixing item.inventory.MixinTraitAdapter from mixins.common.core.json into net.minecraft.inventory.InventoryBasic
[13:34:22] [Server thread/DEBUG] [mixin]: Mixing inventory.MixinInventoryBasic from mixins.common.core.json into net.minecraft.inventory.InventoryBasic
[13:34:22] [Server thread/DEBUG] [mixin]: Skipping Intrinsic mixin method clear()V for net/minecraft/inventory/InventoryBasic
[13:34:23] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod minecraft
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod minecraft
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Minecraft took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod mcp
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod mcp
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Minecraft Coder Pack took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod FML
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod FML
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Forge Mod Loader took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod forge
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod forge
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Minecraft Forge took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod spongeapi
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod spongeapi
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - SpongeAPI took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod sponge
[13:34:23] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod sponge
[13:34:23] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Sponge took 0,000s
[13:34:23] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod spongeforge
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod spongeforge
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - SpongeForge took 1,003s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod advancement_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod advancement_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Advancement Test took 0,001s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod boat_type_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod boat_type_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Boat Type Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod book_pages_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod book_pages_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - book_pages_test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod bucket_cancel_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod bucket_cancel_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Bucket Cancel Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod cause-stack-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod cause-stack-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Cause Stack Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod change_block_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod change_block_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - ChangeBlock Listener Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod command-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod command-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Command Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod cooldowntracker
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod cooldowntracker
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Cooldown Tracker took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod copypasta
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod copypasta
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - CopyPasta took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod custominventorytest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod custominventorytest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Custom Inventory Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod damageabledatatest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod damageabledatatest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Damageable Data Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod damagesourcetest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod damagesourcetest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Damage Source Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod deathtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod deathtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - DeathTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod dispenserfiretest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod dispenserfiretest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Dispenser Fire Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod elytratest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod elytratest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - ElytraDataTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod enchantmenttest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod enchantmenttest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Enchantment Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod entityspawntest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod entityspawntest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - EntitySpawnTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod get_user
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod get_user
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Get User Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod humanaitest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod humanaitest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Human AI Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod ignitetest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod ignitetest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Ignite Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod individual-plugin-reload-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod individual-plugin-reload-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Individual Plugin Reload Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod injection-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod injection-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Guice Injection Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod instrumenttest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod instrumenttest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - InstrumentTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod inventoryopenclosetest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod inventoryopenclosetest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Inventory Open/Close Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod inventoryplugintest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod inventoryplugintest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Inventory Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod inventoryquerytest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod inventoryquerytest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Inventory Query Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod inventorysetoperationstest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod inventorysetoperationstest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Inventory Set Operations Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod invulnerabilitytest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod invulnerabilitytest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - InvulnerabilityTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod itemtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod itemtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - ItemTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod join_data_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod join_data_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Join Data Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod metricheck
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod metricheck
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Metric Check took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod moveentitytest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod moveentitytest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - MoveEntityTest took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod myhomes
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod myhomes
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - MyHomes took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod offlineinventorytest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod offlineinventorytest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Offline Inventory Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod offlinelocationtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod offlinelocationtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Offline Location Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod paginationtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod paginationtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Pagination Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod pardoneventtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod pardoneventtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Pardon Event Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod parrotdatatest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod parrotdatatest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Parrot Data Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod record_test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod record_test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Record Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod scaledhealthtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod scaledhealthtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Scaled Health Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod selector-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod selector-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Selector Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod skulltest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod skulltest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Skull Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod stopsoundtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod stopsoundtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - StopSounds took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod targetaieventtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod targetaieventtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Target AI Event Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod thrown-potion-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod thrown-potion-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Thrown Potion Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod hoppereventtest
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod hoppereventtest
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Hopper Event Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod villager_grief
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod villager_grief
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - Villager Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod world-limit-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod world-limit-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - World Limit Test took 0,000s
[13:34:24] [Server thread/TRACE] [FML]: Sending event FMLServerStoppedEvent to mod world-rename-test
[13:34:24] [Server thread/TRACE] [FML]: Sent event FMLServerStoppedEvent to mod world-rename-test
[13:34:24] [Server thread/DEBUG] [FML]: Bar Step: ServerStopped - World Rename Test took 0,000s
[13:34:24] [Server thread/DEBUG] [FML]: Bar Finished: ServerStopped took 1,020s
[13:34:24] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[13:34:25] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds

Pourtant il en a de la ram;


#6

crash-reports pour être complet:

crash-reports\crash-2018-10-26_17.50.50-server.txt

---- Minecraft Crash Report ----
// Why is it breaking :frowning:

Time: 26/10/18 17:50
Description: Exception in server tick loop

java.lang.OutOfMemoryError: Java heap space
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1048)
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at net.minecraft.advancements.AdvancementManager.loadBuiltInAdvancements(AdvancementManager.java:162)
at net.minecraft.advancements.AdvancementManager.reload(AdvancementManager.java:69)
at net.minecraft.advancements.AdvancementManager.(AdvancementManager.java:61)
at net.minecraft.world.WorldServer.init(WorldServer.java:162)
at org.spongepowered.common.world.WorldManager.createWorldFromProperties(WorldManager.java:803)
at org.spongepowered.common.world.WorldManager.loadAllWorlds(WorldManager.java:771)
at net.minecraft.server.MinecraftServer.loadAllWorlds(MinecraftServer.java:3759)
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:273)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552)
at java.lang.Thread.run(Unknown Source)

A detailed walkthrough of the error, its code path and all known details is as follows:

– Head –
Thread: Server thread
Stacktrace:
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1048)
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at net.minecraft.advancements.AdvancementManager.loadBuiltInAdvancements(AdvancementManager.java:162)
at net.minecraft.advancements.AdvancementManager.reload(AdvancementManager.java:69)
at net.minecraft.advancements.AdvancementManager.(AdvancementManager.java:61)
at net.minecraft.world.WorldServer.init(WorldServer.java:162)
at org.spongepowered.common.world.WorldManager.createWorldFromProperties(WorldManager.java:803)

– Sponge PhaseTracker –
Details:
Phase Stack: [Empty stack]
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjk000(MinecraftServer.java:4194)
at net.minecraft.server.MinecraftServer.addServerInfoToCrashReport(MinecraftServer.java:991)
at net.minecraft.server.dedicated.DedicatedServer.addServerInfoToCrashReport(DedicatedServer.java:386)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:624)
at java.lang.Thread.run(Unknown Source)

– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_181, Oracle Corporation
Java VM Version: Java HotSpot™ Client VM (mixed mode), Oracle Corporation
Memory: 388104 bytes (0 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 56 mods loaded, 56 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored

| State   | ID                            | Version           | Source                                                | Signature |
|:------- |:----------------------------- |:----------------- |:----------------------------------------------------- |:--------- |
| UCHIJAA | minecraft                     | 1.12.2            | minecraft.jar                                         | None      |
| UCHIJAA | mcp                           | 9.42              | minecraft.jar                                         | None      |
| UCHIJAA | FML                           | 8.0.99.99         | forgeSrc-1.12.2-14.23.5.2768-PROJECT(SpongeForge).jar | None      |
| UCHIJAA | forge                         | 14.23.5.2768      | forgeSrc-1.12.2-14.23.5.2768-PROJECT(SpongeForge).jar | None      |
| UCHIJAA | spongeapi                     | 7.1.0-70763aa8    | bin                                                   | None      |
| UCHIJAA | sponge                        | 1.12.2-7.1.2      | bin                                                   | None      |
| UCHIJAA | spongeforge                   | 1.12.2-2768-7.1.2 | bin                                                   | None      |
| UCHIJAA | advancement_test              | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | boat_type_test                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | book_pages_test               | 1.0               | testplugins.jar                                       | None      |
| UCHIJAA | bucket_cancel_test            | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | cause-stack-test              | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | change_block_test             | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | command-test                  | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | cooldowntracker               | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | copypasta                     | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | custominventorytest           | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | damageabledatatest            | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | damagesourcetest              | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | deathtest                     | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | dispenserfiretest             | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | elytratest                    | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | enchantmenttest               | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | entityspawntest               | 0.1.0             | testplugins.jar                                       | None      |
| UCHIJAA | get_user                      |                   | testplugins.jar                                       | None      |
| UCHIJAA | humanaitest                   | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | ignitetest                    | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | individual-plugin-reload-test | 1.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | injection-test                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | instrumenttest                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | inventoryopenclosetest        | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | inventoryplugintest           | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | inventoryquerytest            | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | inventorysetoperationstest    | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | invulnerabilitytest           | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | itemtest                      | 1.0               | testplugins.jar                                       | None      |
| UCHIJAA | join_data_test                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | metricheck                    |                   | testplugins.jar                                       | None      |
| UCHIJAA | moveentitytest                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | myhomes                       | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | offlineinventorytest          | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | offlinelocationtest           | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | paginationtest                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | pardoneventtest               | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | parrotdatatest                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | record_test                   | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | scaledhealthtest              | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | selector-test                 |                   | testplugins.jar                                       | None      |
| UCHIJAA | skulltest                     | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | stopsoundtest                 | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | targetaieventtest             | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | thrown-potion-test            | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | hoppereventtest               | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | villager_grief                | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | world-limit-test              | 0.0.0             | testplugins.jar                                       | None      |
| UCHIJAA | world-rename-test             | 0.0.0             | testplugins.jar                                       | None      |

Loaded coremods (and transformers): 

SpongeCoremod (bin)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Player Count: 0 / 20; []
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)


#7

There is no way 250MB of ram is enough for all those mods/plugins and sponge and forge.
Try two-four GB at the minimum.


#8

[Google trad]
I put that or in eclipse ? Because I want to code plugin and not just launch a server.

[Français]
Je mets ça ou dans eclipse ? Car moi je veux coder des plugin et non juste lancer un serveur.


#9

In Eclipse:
Right click project > Run as > Run Configurations > JVM Parameters

add
-Xmx4G


#10

[Google trad]
It does not change anything:

[Français]
Ça ne change rien:


debug.log:
https://pastebin.com/mDhaXj7b

latest.log:
https://pastebin.com/DFL4d8Qt