jsettlers / settlers-remake

A Remake of "The Settlers III" for Windows, Linux, Mac and Android
http://www.settlers-android-clone.com
MIT License
356 stars 101 forks source link

Dedicated server throws error on startup #756

Closed subesokun closed 3 years ago

subesokun commented 6 years ago

Dedicated server throws following error on start-up. Not sure if the server is functional that after.

java -jar DedicatedJSettlersServer.jar 
Server up and running!
Exception in thread "SendMatchesListTimer" java.lang.NoClassDefFoundError: java8/util/stream/StreamSupport
    at jsettlers.network.server.db.inMemory.InMemoryDB.getPlayers(InMemoryDB.java:113)
    at jsettlers.network.server.match.MatchesListSendingTimerTask.run(MatchesListSendingTimerTask.java:40)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: java8.util.stream.StreamSupport
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 4 more

OS: Ubuntu like but error happens also on Windows or in the Docker container based on https://hub.docker.com/r/oracle/openjdk/ JRE: Java(TM) SE Runtime Environment (build 1.8.0_192-b12) (Oracle) Commit: b51b35a5c5cea8feffb5d887b0b9330769b08cd1 (latest master)