Hello, before, i used this:
boardcours = game.getRegistry().createBuilder(ScoreboardBuilder.class).build();
but now, eclipse say me this is right, but when i want to put on my server with the latest version of sponge,i have some errors
[spoiler=error]
[21:08:27] [Server thread/ERROR] [Sponge]: [Plugin Class: be.thesebakl.multiserv
e.plugin.Main][Handler: onServerStart]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at org.spongepowered.mod.plugin.SpongeModPluginContainer.handleModStateE
vent(SpongeModPluginContainer.java:129) [SpongeModPluginContainer.class:1.8-1565
-2.1-DEV-816]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscribe
r.java:74) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(Sy
nchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [mine
craft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.jav
a:304) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraf
t_server.1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(
LoadController.java:212) [LoadController.class:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(Lo
adController.java:190) [LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_60]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_60]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_60]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscribe
r.java:74) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(Sy
nchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [mine
craft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.jav
a:304) [minecraft_server.1.8.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraf
t_server.1.8.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(L
oadController.java:119) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.serverStarted(Loader.java:794) [
Loader.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.handleServerStarted(FM
LCommonHandler.java:324) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:440) [M
inecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_60]
Caused by: java.lang.NoClassDefFoundError: org/spongepowered/api/scoreboard/Scor
eboardBuilder
at be.thesebakl.multiserve.plugin.Main.onServerStart(Main.java:1
69) ~[Main.class:?]
… 30 more
Caused by: java.lang.ClassNotFoundException: org.spongepowered.api.scoreboard.Sc
oreboardBuilder
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLo
ader.java:191) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_60]
at be.thesebakl.multiserve.schoolrpplugin.Main.onServerStart(Main.java:1
69) ~[Main.class:?]
… 30 more
Caused by: java.lang.NullPointerException
[21:08:27] [Server thread/INFO] [Sponge]: Timings Reset
[/spoiler]