我正在尝试使用 Netbeans 安装 Ardor3D(A 3D Java 引擎),但遇到了一些问题。我成功下载并安装了所有源代码,它在 IDE 中显示良好,但是当我尝试运行任何示例时,它会出现以下错误:
[exec:exec]
Error: Could not find or load main class null
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 5:35.229s
Finished at: Mon Jul 29 15:23:20 EDT 2013
Final Memory: 7M/18M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec (default-cli) on project ardor3d-examples: Result of cmd.exe /X /C "java -classpath G:\Files\Java\Projects\Ardor3D\ardor3d-examples\target\classes;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-lwjgl\1.0-SNAPSHOT\ardor3d-lwjgl-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-core\1.0-SNAPSHOT\ardor3d-core-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-math\1.0-SNAPSHOT\ardor3d-math-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-savable\1.0-SNAPSHOT\ardor3d-savable-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\google\guava\guava\14.0.1\guava-14.0.1.jar;C:\Users\Idrees\.m2\repository\org\lwjgl\lwjgl\lwjgl_util\2.8.4\lwjgl_util-2.8.4.jar;C:\Users\Idrees\.m2\repository\org\lwjgl\lwjgl\lwjgl\2.8.4\lwjgl-2.8.4.jar;C:\Users\Idrees\.m2\repository\org\lwjgl\lwjgl\lwjgl-platform\2.8.4\lwjgl-platform-2.8.4-natives-windows.jar;C:\Users\Idrees\.m2\repository\org\lwjgl\lwjgl\lwjgl-platform\2.8.4\lwjgl-platform-2.8.4-natives-linux.jar;C:\Users\Idrees\.m2\repository\org\lwjgl\lwjgl\lwjgl-platform\2.8.4\lwjg l-platform-2.8.4-natives-osx.jar;C:\Users\Idrees\.m2\repository\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\Idrees\.m2\repository\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-awt\1.0-SNAPSHOT\ardor3d-awt-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-swt\1.0-SNAPSHOT\ardor3d-swt-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\org\eclipse\swt\swt\3650\swt-3650-win32-x86.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-jogl\1.0-SNAPSHOT\ardor3d-jogl-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt-main\2.0.2-rc12\gluegen-rt-main-2.0.2-rc12.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-android-armv6.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-amd64 .jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-armv6.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-armv6hf.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-i586.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-macosx-universal.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-solaris-amd64.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-solaris-i586.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-windows-amd64.jar;C:\Users\Idrees\.m2\repository\org\jogamp\gluegen\gluegen-rt\2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-windows-i586.jar;C:\Users\Idrees\.m2\repository\org\jo gamp\jogl\jogl-all-main\2.0.2-rc12\jogl-all-main-2.0.2-rc12.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-android-armv6.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-amd64.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-armv6.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-armv6hf.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-i586.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-macosx-universal.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-solaris-amd64.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\ 2.0.2-rc12\jogl-all-2.0.2-rc12-natives-solaris-i586.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-windows-amd64.jar;C:\Users\Idrees\.m2\repository\org\jogamp\jogl\jogl-all\2.0.2-rc12\jogl-all-2.0.2-rc12-natives-windows-i586.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-effects\1.0-SNAPSHOT\ardor3d-effects-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-extras\1.0-SNAPSHOT\ardor3d-extras-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-collada\1.0-SNAPSHOT\ardor3d-collada-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-animation\1.0-SNAPSHOT\ardor3d-animation-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\org\jdom\jdom2\2.0.4\jdom2-2.0.4.jar;C:\Users\Idrees\.m2\repository\jaxen\jaxen\1.1.4\jaxen-1.1.4.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-terrain\1.0-SNAPSHOT\ardor3d-terrain-1.0-SNAPSHOT.jar;C:\Users\Idrees\.m2\repository\com\ardor3d\ardor3d-ui\1.0 -SNAPSHOT\ardor3d-ui-1.0-SNAPSHOT.jar null" execution is: '1'. -> [Help 1]
我相信这个错误是由于我在 Netbeans 的便携版本上运行 Ardor 造成的。它发现 Java 类路径很好,但它试图在计算机文件本身中找到 SNAPSHOT (?)。有谁知道如何让它下载并找到闪存驱动器本身的文件?我可以假设可以通过重定向 IDE 查找存储库的位置来修复它,但是由于我对这个主题缺乏了解,我不知道如何实现这一点。谢谢你的帮助!
PS 如果您需要我上传 Netbeans 便携版进行纠错,请说