0

尝试使用 Eclipse 运行测试我的项目,但它会生成以下错误:

Jul 31, 2013 9:32:50 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Jul 31, 2013 9:32:50 PM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.ClassNotFoundException: cpw.mods.fml.common.launcher.FMLTweaker
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:99)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:49)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

然而

证明

我尝试从不同的地方单击运行,但它仍然不起作用。有谁知道为什么?

4

1 回答 1

0

通过按F5文件夹刷新我的类路径,谢谢亚当。

于 2013-08-01T03:12:47.860 回答