Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

cannot load any plugins #18

Closed
nyacat opened this issue Jun 18, 2015 · 52 comments
Closed

cannot load any plugins #18

nyacat opened this issue Jun 18, 2015 · 52 comments

Comments

@nyacat
Copy link

nyacat commented Jun 18, 2015

[09:11:06] [Server thread/INFO] [pore]: Loading plugins
[09:11:06] [Server thread/ERROR] [Sponge]: [Plugin Class: blue.lapis.pore.Pore][Handler: onInitialization]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_80]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
        at org.spongepowered.mod.plugin.SpongeModPluginContainer.handleModStateEvent(SpongeModPluginContainer.java:126) [SpongeModPluginContainer.class:1.8-1446-2.1DEV-0+unknown-b0.git-unknown]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_80]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_80]
        at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
        at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:529) [Loader.class:?]
        at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) [FMLCommonHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) [po.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
Caused by: java.lang.IllegalArgumentException: Unexpected exception java.lang.reflect.InvocationTargetException while attempting to construct a new instance of org.bukkit.plugin.java.JavaPluginLoader
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:82) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_80]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_80]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/Validate
        at org.bukkit.plugin.java.JavaPluginLoader.<init>(JavaPluginLoader.java:60) ~[JavaPluginLoader.class:1.0.0-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_80]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_80]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.Validate
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_80]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_80]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_80]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_80]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_80]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[?:1.7.0_80]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_80]
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.11.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_80]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_80]
        at org.bukkit.plugin.java.JavaPluginLoader.<init>(JavaPluginLoader.java:60) ~[JavaPluginLoader.class:1.0.0-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_80]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[?:1.7.0_80]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.7.0_80]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[?:1.7.0_80]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more

env:jdk1.7.0u80
plugins:authme reload 5.0;essential 2.x

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

forge 1446
Sponge 1446

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

try java8 + latest dev build of authme and EssentialsX instead of essentials

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

already essentialX,did you means use java8 to compilation?

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

https://hub.spigotmc.org/jenkins/job/Spigot-Essentials/
http://xephi.fr:8080/job/AuthMeReloaded/
those plugins were using,but not loading
Would I use java8 to compiled all of those things?(Sponge/forge/pore)?

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

No, try Java8 as JRE.

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

oh....what happen if I compiled with JAVA8

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

switch to java8 still this problem.

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

[12:57:41] [Server thread/INFO] [pore]: Loading Pore server, please wait...
[12:57:41] [Server thread/INFO] [pore]: This server is running Pore version 1.0.0-SNAPSHOT@1.8-1446-2.1DEV-0+unknown-b0.git-unknown (Implementing API version 1.8.6-R0.1-SNAPSHOT@2.1-SNAPSHOT)
[12:57:41] [Server thread/INFO] [pore]: Loading plugins
[12:57:41] [Server thread/ERROR] [Sponge]: [Plugin Class: blue.lapis.pore.Pore][Handler: onInitialization]
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at org.spongepowered.mod.plugin.SpongeModPluginContainer.handleModStateEvent(SpongeModPluginContainer.java:126) [SpongeModPluginContainer.class:1.8-1446-2.1DEV-0+unknown-b0.git-unknown]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) [LoadController.class:?]
        at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.8.jar:?]
        at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.8.jar:?]
        at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
        at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:529) [Loader.class:?]
        at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) [FMLServerHandler.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:355) [FMLCommonHandler.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:117) [po.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.IllegalArgumentException: Unexpected exception java.lang.reflect.InvocationTargetException while attempting to construct a new instance of org.bukkit.plugin.java.JavaPluginLoader
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:82) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/Validate
        at org.bukkit.plugin.java.JavaPluginLoader.<init>(JavaPluginLoader.java:60) ~[JavaPluginLoader.class:1.0.0-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.Validate
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_45]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_45]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_45]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_45]
        at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106) ~[launchwrapper-1.11.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_45]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_45]
        at org.bukkit.plugin.java.JavaPluginLoader.<init>(JavaPluginLoader.java:60) ~[JavaPluginLoader.class:1.0.0-SNAPSHOT]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45]
        at org.bukkit.plugin.SimplePluginManager.registerInterface(SimplePluginManager.java:76) ~[SimplePluginManager.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.impl.PoreServer.loadPlugins(PoreServer.java:134) ~[PoreServer.class:1.0.0-SNAPSHOT]
        at blue.lapis.pore.Pore.onInitialization(Pore.java:98) ~[Pore.class:1.0.0-SNAPSHOT]
        ... 32 more

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

compiled with java8 and run with java8 had this problem too.

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

Are you running latest DEV version of pore and sponge?

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

OK...I deleted all my plugins,but pore still have this problem....

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

yes

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

Try to compile pore with this Sponge Api version: spongeapi-2.1-20150618.092730-108.jar

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

how to do this?

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

You need to edit gradle dependencies... I never used gradle, sorry :(

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

none this file

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

OK,compile fail

@sgdc3
Copy link

sgdc3 commented Jun 18, 2015

:/ you need to wait for a new pore version, try to use an old version of sponge

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

OK.....which sponge should i get?

@stephan-gh
Copy link
Contributor

Where did you get your Pore build from? Try using the one from http://ci.caseif.net/job/Pore/

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

I compiled it

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

Oh...but,I download the last build,it was this problem too.
forge 1371

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

forge 1446 either

@stephan-gh
Copy link
Contributor

Download the latest Sponge dev build, put it in a new folder then run it on the console with java -jar sponge.jar go, it will download the correct Forge version automatically. Then download the Pore build from http://ci.caseif.net/job/Pore/ and test with that

@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

Thanks!

@nyacat nyacat closed this as completed Jun 18, 2015
@nyacat
Copy link
Author

nyacat commented Jun 18, 2015

OK.....it running well without loading bukkit plugins...

@nyacat nyacat reopened this Jun 18, 2015
@nyacat
Copy link
Author

nyacat commented Jun 19, 2015

Now....the status was new sponge 1446 490,pore latest jdk1.8.0u45.
can load pore nominaly first,but error with loading plugins,after loaded (fail) plugins once,pore cannot be load correct

@stephan-gh
Copy link
Contributor

The same error as you posted above?

@nyacat
Copy link
Author

nyacat commented Jun 19, 2015

Thanks,but if i want to fix myself,how to do it?

@maxov
Copy link
Contributor

maxov commented Jun 19, 2015

@nyacat You'd have to make the correct change to classloader exclusions in Sponge, compile Sponge, then use that JAR.

@nyacat
Copy link
Author

nyacat commented Jun 19, 2015

Oh,thanks~,just add that line?

@caseif
Copy link
Member

caseif commented Jun 19, 2015

Alternatively, running Pore within the IDE as described in the README seems to bypass classloader exclusions.

@nyacat
Copy link
Author

nyacat commented Jun 19, 2015

..But I just want to use Pore with my server,And...how to fix this problem?

@caseif
Copy link
Member

caseif commented Jun 19, 2015

In that case you have to use @gratimax's suggestion or wait for Sponge to fix the problem.

@nyacat
Copy link
Author

nyacat commented Jun 19, 2015

Ok,What happen if I del that line?

@caseif
Copy link
Member

caseif commented Jun 19, 2015

No idea. Most likely nothing too bad, but it might carry some quirks. Anyway, locking this for now as the issue is out of our hands.

@caseif caseif closed this as completed Jun 19, 2015
@LapisBlue LapisBlue locked and limited conversation to collaborators Jun 19, 2015
@stephan-gh stephan-gh reopened this Jun 19, 2015
@caseif caseif removed the accepted label Jun 19, 2015
@caseif caseif closed this as completed Jun 19, 2015
@stephan-gh stephan-gh reopened this Jun 19, 2015
@LapisBlue LapisBlue unlocked this conversation Jun 20, 2015
@caseif
Copy link
Member

caseif commented Jun 20, 2015

We need to escalate this to Forge, but in the meantime, you should be able to load Pore on SpongeVanilla without any issues.

@stephan-gh stephan-gh removed the bug label Jun 20, 2015
@nyacat
Copy link
Author

nyacat commented Jun 21, 2015

Nope...latest SpongeVanilla cannot load it.

admin@ip-172-31-12-180:~/build/run$ ./_run.sh spongevanilla-1.8-2.1DEV-0.jar
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
[04:27:20] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.vanilla.launch.server.VanillaServerTweaker
[04:27:20] [main/INFO] [LaunchWrapper]: Using primary tweak class name org.spongepowered.vanilla.launch.server.VanillaServerTweaker
[04:27:20] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.vanilla.launch.server.VanillaServerTweaker
[04:27:20] [main/INFO] [Sponge]: Initializing Sponge...
[04:27:20] [main/DEBUG] [Sponge]: Applying runtime de-obfuscation...
[04:27:20] [main/INFO] [Sponge]: De-obfuscation mappings are provided by MCP (http://www.modcoderpack.com)
[04:27:21] [main/DEBUG] [Sponge]: Runtime de-obfuscation is applied.
[04:27:21] [main/DEBUG] [Sponge]: Applying access transformer...
[04:27:21] [main/DEBUG] [Sponge]: Initializing Mixin environment...
[04:27:21] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.4.4 Source=file:/home/admin/build/run/spongevanilla-1.8-2.1DEV-0.jar Env=UNKNOWN
[04:27:21] [main/DEBUG] [mixin]: Adding new mixin transformer proxy #1
[04:27:21] [main/INFO] [Sponge]: Initialization finished. Starting Minecraft server...
[04:27:21] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.MixinEnvironment$EnvironmentStateTweaker
[04:27:21] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.MixinEnvironment$EnvironmentStateTweaker
[04:27:21] [main/DEBUG] [mixin]: Adding new mixin transformer proxy #2
[04:27:21] [main/DEBUG] [mixin]: Preparing mixins for MixinEnvironment[DEFAULT]
[04:27:21] [main/DEBUG] [mixin]: Adding mixin config mixins.common.api.json
[04:27:21] [main/DEBUG] [mixin]: Adding mixin config mixins.common.core.json
[04:27:21] [main/DEBUG] [mixin]: Adding mixin config mixins.vanilla.json
[04:27:21] [main/DEBUG] [mixin]: Rebuilding transformer delegation list:
[04:27:21] [main/DEBUG] [mixin]:   Adding:    org.spongepowered.vanilla.launch.transformers.DeobfuscationTransformer
[04:27:21] [main/DEBUG] [mixin]:   Adding:    org.spongepowered.vanilla.launch.transformers.AccessTransformer
[04:27:21] [main/DEBUG] [mixin]:   Excluding: org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy
[04:27:21] [main/DEBUG] [mixin]:   Excluding: org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy
[04:27:21] [main/DEBUG] [mixin]: Transformer delegation list created with 2 entries
[04:27:21] [main/DEBUG] [mixin]: Found name transformer: org.spongepowered.vanilla.launch.transformers.DeobfuscationTransformer
[04:27:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {org.spongepowered.vanilla.SpongeVanilla}
[04:27:26] [main/DEBUG] [mixin]: Mixing command.MixinSubject from mixins.common.core.json into net.minecraft.server.MinecraftServer
[04:27:26] [main/DEBUG] [mixin]: Mixing server.MixinMinecraftServer from mixins.common.core.json into net.minecraft.server.MinecraftServer
[04:27:26] [main/DEBUG] [mixin]: Mixing server.MixinMinecraftServer from mixins.vanilla.json into net.minecraft.server.MinecraftServer
[04:27:26] [main/WARN] [mixin]: Method overwrite conflict for getOnlinePlayers, previously written by org.spongepowered.common.mixin.core.server.MixinMinecraftServer. Skipping method.
[04:27:26] [main/DEBUG] [mixin]: Mixing world.MixinWorld from mixins.common.core.json into net.minecraft.world.World
[04:27:26] [main/DEBUG] [mixin]: Mixing world.extent.MixinExtent from mixins.common.core.json into net.minecraft.world.World
[04:27:26] [main/DEBUG] [mixin]: Mixing world.MixinWorld from mixins.vanilla.json into net.minecraft.world.World
[04:27:27] [main/DEBUG] [mixin]: Mixing world.MixinWorldServer from mixins.common.core.json into net.minecraft.world.WorldServer
[04:27:27] [main/ERROR] [mixin]: Critical injection failure: LVT in net/minecraft/world/WorldServer::func_175643_b has incompatible changes at opcode 98. Expected [Ljava/lang/String;, Lnet/minecraft/village/VillageCollection;, Lnet/minecraft/scoreboard/ScoreboardSaveData;] but found [Lnet/minecraft/scoreboard/ScoreboardSaveData;]. Callback onInit(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;Ljava/lang/String;Lnet/minecraft/village/VillageCollection;Lnet/minecraft/scoreboard/ScoreboardSaveData;)V
[04:27:27] [main/DEBUG] [mixin]: Mixing world.difficulty.MixinEnumDifficulty from mixins.common.core.json into net.minecraft.world.EnumDifficulty
[04:27:27] [main/DEBUG] [mixin]: Mixing scoreboard.MixinScoreboardObjectiveDisplayType from mixins.common.core.json into net.minecraft.scoreboard.IScoreObjectiveCriteria$EnumRenderType
[04:27:27] [main/DEBUG] [mixin]: Mixing data.types.MixinEnumShrubType from mixins.common.core.json into net.minecraft.block.BlockTallGrass$EnumType
[04:27:27] [main/DEBUG] [mixin]: Mixing data.types.MixinEnumDoublePlant from mixins.common.core.json into net.minecraft.block.BlockDoublePlant$EnumPlantType
[04:27:27] [main/DEBUG] [mixin]: Mixing data.types.MixinEnumPlantType from mixins.common.core.json into net.minecraft.block.BlockFlower$EnumFlowerType
[04:27:27] [main/ERROR] [ERR]: Exception in thread "main" java.lang.ExceptionInInitializerError
[04:27:27] [main/ERROR] [ERR]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[04:27:27] [main/ERROR] [ERR]:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[04:27:27] [main/ERROR] [ERR]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[04:27:27] [main/ERROR] [ERR]:     at java.lang.reflect.Method.invoke(Method.java:497)
[04:27:27] [main/ERROR] [ERR]:     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[04:27:27] [main/ERROR] [ERR]:     at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[04:27:27] [main/ERROR] [ERR]:     at org.spongepowered.vanilla.launch.server.VanillaServerMain.main(VanillaServerMain.java:60)
[04:27:27] [main/ERROR] [ERR]: Caused by: com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Error injecting constructor, java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:59)
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.class(VanillaPluginManager.java:53)
  while locating org.spongepowered.vanilla.plugin.VanillaPluginManager
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:71)
  while locating org.spongepowered.api.plugin.PluginManager
    for parameter 0 at org.spongepowered.vanilla.VanillaGame.<init>(VanillaGame.java:47)
  at org.spongepowered.vanilla.VanillaGame.class(VanillaGame.java:41)
  while locating org.spongepowered.vanilla.VanillaGame
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:70)
  while locating org.spongepowered.api.Game
    for parameter 1 at org.spongepowered.common.Sponge.<init>(Sponge.java:92)
  at org.spongepowered.common.Sponge.class(Sponge.java:74)
  while locating org.spongepowered.common.Sponge
Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
    at org.spongepowered.vanilla.plugin.MinecraftPluginContainer.getInstance(MinecraftPluginContainer.java:55)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.registerPlugin(VanillaPluginManager.java:66)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:61)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager$$FastClassByGuice$$927f3919.newInstance(<generated>)
    at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at org.spongepowered.vanilla.SpongeVanilla.<init>(SpongeVanilla.java:73)
    at org.spongepowered.vanilla.SpongeVanilla.<clinit>(SpongeVanilla.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at org.spongepowered.vanilla.launch.server.VanillaServerMain.main(VanillaServerMain.java:60)
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.WorldServer
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 59 more
Caused by: org.spongepowered.asm.mixin.injection.InjectionError: LVT in net/minecraft/world/WorldServer::func_175643_b has incompatible changes at opcode 98. Expected [Ljava/lang/String;, Lnet/minecraft/village/VillageCollection;, Lnet/minecraft/scoreboard/ScoreboardSaveData;] but found [Lnet/minecraft/scoreboard/ScoreboardSaveData;]. Callback onInit(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;Ljava/lang/String;Lnet/minecraft/village/VillageCollection;Lnet/minecraft/scoreboard/ScoreboardSaveData;)V
    at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:388)
    at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:340)
    at org.spongepowered.asm.mixin.injection.code.Injector.injectInto(Injector.java:108)
    at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.inject(InjectionInfo.java:184)
    at org.spongepowered.asm.mixin.transformer.MixinApplicator.applyInjections(MixinApplicator.java:705)
    at org.spongepowered.asm.mixin.transformer.MixinApplicator.applyMixin(MixinApplicator.java:208)
    at org.spongepowered.asm.mixin.transformer.MixinApplicator.apply(MixinApplicator.java:189)
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:594)
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:566)
    at org.spongepowered.asm.mixin.transformer.MixinTransformer.transform(MixinTransformer.java:402)
    at org.spongepowered.asm.mixin.transformer.MixinTransformer$Proxy.transform(MixinTransformer.java:104)
    at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
    ... 61 more

2) Error injecting constructor, java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:59)
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.class(VanillaPluginManager.java:53)
  while locating org.spongepowered.vanilla.plugin.VanillaPluginManager
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:71)
  while locating org.spongepowered.api.plugin.PluginManager
    for parameter 0 at org.spongepowered.common.event.SpongeEventManager.<init>(SpongeEventManager.java:81)
  at org.spongepowered.common.event.SpongeEventManager.class(SpongeEventManager.java:60)
  while locating org.spongepowered.common.event.SpongeEventManager
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:72)
  while locating org.spongepowered.api.service.event.EventManager
    for parameter 1 at org.spongepowered.vanilla.VanillaGame.<init>(VanillaGame.java:47)
  at org.spongepowered.vanilla.VanillaGame.class(VanillaGame.java:41)
  while locating org.spongepowered.vanilla.VanillaGame
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:70)
  while locating org.spongepowered.api.Game
    for parameter 1 at org.spongepowered.common.Sponge.<init>(Sponge.java:92)
  at org.spongepowered.common.Sponge.class(Sponge.java:74)
  while locating org.spongepowered.common.Sponge
Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
    at org.spongepowered.vanilla.plugin.MinecraftPluginContainer.getInstance(MinecraftPluginContainer.java:55)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.registerPlugin(VanillaPluginManager.java:66)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:61)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager$$FastClassByGuice$$927f3919.newInstance(<generated>)
    at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at org.spongepowered.vanilla.SpongeVanilla.<init>(SpongeVanilla.java:73)
    at org.spongepowered.vanilla.SpongeVanilla.<clinit>(SpongeVanilla.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at org.spongepowered.vanilla.launch.server.VanillaServerMain.main(VanillaServerMain.java:60)
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.WorldServer
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 75 more

3) Error injecting constructor, java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:59)
  at org.spongepowered.vanilla.plugin.VanillaPluginManager.class(VanillaPluginManager.java:53)
  while locating org.spongepowered.vanilla.plugin.VanillaPluginManager
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:71)
  while locating org.spongepowered.api.plugin.PluginManager
    for parameter 0 at org.spongepowered.api.service.SimpleServiceManager.<init>(SimpleServiceManager.java:63)
  while locating org.spongepowered.api.service.SimpleServiceManager
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:74)
  while locating org.spongepowered.api.service.ServiceManager
    for parameter 3 at org.spongepowered.vanilla.VanillaGame.<init>(VanillaGame.java:47)
  at org.spongepowered.vanilla.VanillaGame.class(VanillaGame.java:41)
  while locating org.spongepowered.vanilla.VanillaGame
  at org.spongepowered.vanilla.guice.VanillaGuiceModule.configure(VanillaGuiceModule.java:70)
  while locating org.spongepowered.api.Game
    for parameter 1 at org.spongepowered.common.Sponge.<init>(Sponge.java:92)
  at org.spongepowered.common.Sponge.class(Sponge.java:74)
  while locating org.spongepowered.common.Sponge
Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/WorldServer
    at org.spongepowered.vanilla.plugin.MinecraftPluginContainer.getInstance(MinecraftPluginContainer.java:55)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.registerPlugin(VanillaPluginManager.java:66)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager.<init>(VanillaPluginManager.java:61)
    at org.spongepowered.vanilla.plugin.VanillaPluginManager$$FastClassByGuice$$927f3919.newInstance(<generated>)
    at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
    at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
    at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
    at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
    at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
    at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
    at org.spongepowered.vanilla.SpongeVanilla.<init>(SpongeVanilla.java:73)
    at org.spongepowered.vanilla.SpongeVanilla.<clinit>(SpongeVanilla.java:66)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at org.spongepowered.vanilla.launch.server.VanillaServerMain.main(VanillaServerMain.java:60)
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.WorldServer
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 70 more

3 errors
[04:27:27] [main/ERROR] [ERR]:     at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1025)
[04:27:27] [main/ERROR] [ERR]:     at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
[04:27:27] [main/ERROR] [ERR]:     at org.spongepowered.vanilla.SpongeVanilla.<init>(SpongeVanilla.java:73)
[04:27:27] [main/ERROR] [ERR]:     at org.spongepowered.vanilla.SpongeVanilla.<clinit>(SpongeVanilla.java:66)
[04:27:27] [main/ERROR] [ERR]:     ... 7 more

@nyacat
Copy link
Author

nyacat commented Jun 21, 2015

OK,I saw the issue in forge,but how to fix it out?

@stephan-gh
Copy link
Contributor

For now please wait until we have a fix. Most plugins are not working with Pore yet anyway.

@nyacat
Copy link
Author

nyacat commented Jun 21, 2015

OK,Could I know which IDE did you used?

@caseif
Copy link
Member

caseif commented Jun 21, 2015

There are instructions in the Sponge documentation for Eclipse and IntelliJ.

@nyacat
Copy link
Author

nyacat commented Jun 22, 2015

OK,I try to rename package,but compile error.How to rename it?

@caseif
Copy link
Member

caseif commented Jun 22, 2015

You may be able to do this with an IDE, but the existence of Bukkit as a submodule may mess things up a bit. But, as @Minecrell said, Pore is in an unstable state anyway and not recommended for general use. Locking this issue for now until we're closer to a solution.

@LapisBlue LapisBlue locked and limited conversation to collaborators Jun 22, 2015
@LapisBlue LapisBlue unlocked this conversation Jun 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants