我开始设置我的mod,(FML事件客户机/服务器类),但当我开始我的世界时,它给了我这个错误:
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 27-4-17 10:02
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Eagles Toolbox (eagtools)
Caused by: net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: com.eagle.eagtools.proxy.ClientProxy.java
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:88)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:559)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:220)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:477)
at net.minecraft.client.Minecraft.run(Minecraft.java:386)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)
Caused by: java.lang.ClassNotFoundException: com.eagle.eagtools.proxy.ClientProxy.java
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:75)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:71)
... 39 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
... 45 more`
-- System Details --
Details:
Minecraft Version: 1.10.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_131, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 678263960 bytes (646 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.32 Powered by Forge 12.18.3.2281 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2281.jar)
UC Forge{12.18.3.2281} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2281.jar)
UE eagtools{1.0 BETA} [Eagles Toolbox] (bin)
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4534' Renderer: 'Intel(R) HD Graphics 620'
问题出在变量类中
public static final String CLIENTCLASS = "com.eagle.eagtools.proxy.ClientProxy.java";
public static final String SERVERCLASS = "com.eagle.eagtools.proxy.ServerProxy.java";
应该是
public static final String CLIENTCLASS = "com.eagle.eagtools.proxy.ClientProxy";
public static final String SERVERCLASS = "com.eagle.eagtools.proxy.ServerProxy";
当我回显$JAVA_HOME时,我得到/library/Internet plug-ins/javaappletplugin.plugin/contents/home 但是当我执行/usr/libexec/java_home时,得到的是/library/java/javavirtualmachines/jdk-15.0.2.jdk/contents/home 我认为它们都应该返回/library/
我正在尝试像这样在应用程序中添加recyclerview 错误 错误:链接文件资源失败。
我正在尝试设置Ritz/Lein/Emacs等来创建一个clojure开发环境。 我安装了并将其添加到我的项目文件中。尝试时,我遇到以下异常: 你能帮我解决这件事吗?
我的项目在eclipse中运行得很好,但当我在cmd中运行该项目的jar时,我得到错误似乎我的FXML没有正确加载。我知道这个问题被问了很多次,但没有一个能解决我的问题。我试着用 但我还是有错误。 这是我的项目的结构 在Eclipse中运行的方法:
错误 线程“main”java.lang.UnsatisfiedLinkError中的java.library.Path中的java.lang.ClassLoader.LoadLibrary(未知源)中的java.lang.Runtime.LoadLibrary0(未知源)中的java.lang.System.LoadLibrary0(未知源)中的java.security.AccessContr
java.lang.RuntimeException:无法实例化activity ComponentInfo{com.alpha.dealtap/com.alpha.dealtap.map}:java.lang.ClassNotFoundException:loaderDalvik中的com.alpha.dealtap.map。LoaderDalvik.System.PathClassLoader