- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我刚刚升级为使用 IntelliJ,而不是带有 Maven 和 jme3 0.1 beta 的 Eclipse。现在我收到一条无法理解的错误消息:
/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -Didea.launcher.port=7532 -Didea.launcher.bin.path=/home/dac/Downloads/idea-IU-145.972.3/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/icedtea-sound.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/management-agent.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/rt.jar:/home/dac/proj/spaceworld/target/classes:/home/dac/Downloads/lib/core.jar:/home/dac/Downloads/lib/joal.jar:/home/dac/Downloads/lib/xpp3.jar:/home/dac/Downloads/lib/lwjgl.jar:/home/dac/Downloads/lib/nifty.jar:/home/dac/Downloads/lib/jinput.jar:/home/dac/Downloads/lib/jsr305.jar:/home/dac/Downloads/lib/jutils.jar:/home/dac/Downloads/lib/simple.jar:/home/dac/Downloads/lib/dense64.jar:/home/dac/Downloads/lib/vecmath.jar:/home/dac/Downloads/lib/denseC64.jar:/home/dac/Downloads/lib/eventbus.jar:/home/dac/Downloads/lib/jogl-all.jar:/home/dac/Downloads/lib/j-ogg-all.jar:/home/dac/Downloads/lib/jme3-core.jar:/home/dac/Downloads/lib/jme3-jogg.jar:/home/dac/Downloads/lib/jme3-jogl.jar:/home/dac/Downloads/lib/joal-main.jar:/home/dac/Downloads/lib/gluegen-rt.jar:/home/dac/Downloads/lib/jme3-lwjgl.jar:/home/dac/Downloads/lib/jglfont-core.jar:/home/dac/Downloads/lib/jme3-blender.jar:/home/dac/Downloads/lib/jme3-desktop.jar:/home/dac/Downloads/lib/jme3-effects.jar:/home/dac/Downloads/lib/jme3-jbullet.jar:/home/dac/Downloads/lib/jme3-plugins.jar:/home/dac/Downloads/lib/jme3-terrain.jar:/home/dac/Downloads/lib/jme3-niftygui.jar:/home/dac/Downloads/lib/jme3-testdata.jar:/home/dac/Downloads/lib/jogl-all-main.jar:/home/dac/Downloads/lib/nifty-examples.jar:/home/dac/Downloads/lib/gluegen-rt-main.jar:/home/dac/Downloads/lib/jme3-networking.jar:/home/dac/Downloads/lib/nifty-style-black.jar:/home/dac/Downloads/lib/nifty-default-controls.jar:/home/dac/Downloads/lib/joal-natives-linux-i586.jar:/home/dac/Downloads/lib/joal-natives-linux-amd64.jar:/home/dac/Downloads/lib/joal-natives-linux-armv6.jar:/home/dac/Downloads/lib/joal-natives-solaris-i586.jar:/home/dac/Downloads/lib/joal-natives-windows-i586.jar:/home/dac/Downloads/lib/joal-natives-android-armv6.jar:/home/dac/Downloads/lib/joal-natives-linux-armv6hf.jar:/home/dac/Downloads/lib/joal-natives-solaris-amd64.jar:/home/dac/Downloads/lib/joal-natives-windows-amd64.jar:/home/dac/Downloads/lib/lwjgl-platform-natives-osx.jar:/home/dac/Downloads/lib/jinput-platform-natives-osx.jar:/home/dac/Downloads/lib/jogl-all-natives-linux-i586.jar:/home/dac/Downloads/lib/joal-natives-android-aarch64.jar:/home/dac/Downloads/lib/jogl-all-natives-linux-amd64.jar:/home/dac/Downloads/lib/jogl-all-natives-linux-armv6.jar:/home/dac/Downloads/lib/lwjgl-platform-natives-linux.jar:/home/dac/Downloads/lib/gluegen-rt-natives-linux-i586.jar:/home/dac/Downloads/lib/jinput-platform-natives-linux.jar:/home/dac/Downloads/lib/joal-natives-macosx-universal.jar:/home/dac/Downloads/lib/jogl-all-natives-solaris-i586.jar:/home/dac/Downloads/lib/jogl-all-natives-windows-i586.jar:/home/dac/Downloads/lib/gluegen-rt-natives-linux-amd64.jar:/home/dac/Downloads/lib/gluegen-rt-natives-linux-armv6.jar:/home/dac/Downloads/lib/jogl-all-natives-android-armv6.jar:/home/dac/Downloads/lib/jogl-all-natives-linux-armv6hf.jar:/home/dac/Downloads/lib/jogl-all-natives-solaris-amd64.jar:/home/dac/Downloads/lib/jogl-all-natives-windows-amd64.jar:/home/dac/Downloads/lib/lwjgl-platform-natives-windows.jar:/home/dac/Downloads/lib/gluegen-rt-natives-solaris-i586.jar:/home/dac/Downloads/lib/gluegen-rt-natives-windows-i586.jar:/home/dac/Downloads/lib/jinput-platform-natives-windows.jar:/home/dac/Downloads/lib/gluegen-rt-natives-android-armv6.jar:/home/dac/Downloads/lib/gluegen-rt-natives-linux-armv6hf.jar:/home/dac/Downloads/lib/gluegen-rt-natives-solaris-amd64.jar:/home/dac/Downloads/lib/gluegen-rt-natives-windows-amd64.jar:/home/dac/Downloads/lib/jogl-all-natives-android-aarch64.jar:/home/dac/Downloads/lib/jogl-all-natives-macosx-universal.jar:/home/dac/Downloads/lib/gluegen-rt-natives-android-aarch64.jar:/home/dac/Downloads/lib/gluegen-rt-natives-macosx-universal.jar:/home/dac/Downloads/cai-nmgen-0.2.0.jar:/home/dac/.m2/repository/cz/advel/jbullet/jbullet/20101010/jbullet-20101010.jar:/home/dac/.m2/repository/java3d/vecmath/1.3.1/vecmath-1.3.1.jar:/home/dac/.m2/repository/asm/asm-all/3.1/asm-all-3.1.jar:/home/dac/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar:/home/dac/.m2/repository/org/cogchar/ext.bundle.opengl.nifty/1.0.9.1/ext.bundle.opengl.nifty-1.0.9.1.jar:/home/dac/.m2/repository/org/bushe/eventbus/1.3/eventbus-1.3.jar:/home/dac/.m2/repository/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar:/home/dac/.m2/repository/org/jmonkeyengine/jme3-core/3.1.0-beta1/jme3-core-3.1.0-beta1.jar:/home/dac/.m2/repository/org/jmonkeyengine/jme3-desktop/3.1.0-beta1/jme3-desktop-3.1.0-beta1.jar:/home/dac/.m2/repository/org/jmonkeyengine/jme3-lwjgl/3.1.0-beta1/jme3-lwjgl-3.1.0-beta1.jar:/home/dac/.m2/repository/org/lwjgl/lwjgl/lwjgl/2.9.3/lwjgl-2.9.3.jar:/home/dac/.m2/repository/org/lwjgl/lwjgl/lwjgl-platform/2.9.3/lwjgl-platform-2.9.3-natives-windows.jar:/home/dac/.m2/repository/org/lwjgl/lwjgl/lwjgl-platform/2.9.3/lwjgl-platform-2.9.3-natives-linux.jar:/home/dac/.m2/repository/org/lwjgl/lwjgl/lwjgl-platform/2.9.3/lwjgl-platform-2.9.3-natives-osx.jar:/home/dac/.m2/repository/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/dac/.m2/repository/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/dac/.m2/repository/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar:/home/dac/.m2/repository/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar:/home/dac/.m2/repository/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-osx.jar:/home/dac/Downloads/idea-IU-145.972.3/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain spaceworld.UFOSpaceWorld
Jun 22, 2016 6:25:47 AM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.1-beta1
* Branch: HEAD
* Git Hash: 310f4db
* Build Date: 2016-04-25
Jun 22, 2016 6:25:48 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 2.9.3 context running on thread jME3 Main
* Graphics Adapter: null
* Driver Version: null
* Scaling Factor: 1
Jun 22, 2016 6:25:48 AM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon
INFO: OpenGL Renderer Information
* Vendor: Intel Open Source Technology Center
* Renderer: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
* OpenGL Version: 3.0 Mesa 11.2.0
* GLSL Version: 1.30
* Profile: Compatibility
Jun 22, 2016 6:25:48 AM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio Renderer Information
* Device: OpenAL Soft
* Vendor: OpenAL Community
* Renderer: OpenAL Soft
* Version: 1.1 ALSOFT 1.15.1
* Supported channels: 64
* ALC extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
* AL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
Jun 22, 2016 6:25:48 AM com.jme3.audio.openal.ALAudioRenderer initOpenAL
WARNING: Pausing audio device not supported.
Jun 22, 2016 6:25:48 AM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio effect extension version: 1.0
Jun 22, 2016 6:25:48 AM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio max auxiliary sends: 4
Jun 22, 2016 6:25:49 AM com.jme3.bullet.BulletAppState startPhysicsOnExecutor
SEVERE: null
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: com.bulletphysics.dynamics.DiscreteDynamicsWorld.setPreTickCallback(Lcom/bulletphysics/dynamics/InternalTickCallback;)V
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.jme3.bullet.BulletAppState.startPhysicsOnExecutor(BulletAppState.java:121)
at com.jme3.bullet.BulletAppState.startPhysics(BulletAppState.java:162)
at com.jme3.bullet.BulletAppState.stateAttached(BulletAppState.java:211)
at com.jme3.app.state.AppStateManager.attach(AppStateManager.java:133)
at spaceworld.UFOSpaceWorld.simpleInitApp(UFOSpaceWorld.java:156)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:220)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: com.bulletphysics.dynamics.DiscreteDynamicsWorld.setPreTickCallback(Lcom/bulletphysics/dynamics/InternalTickCallback;)V
at com.jme3.bullet.PhysicsSpace.setTickCallback(PhysicsSpace.java:282)
at com.jme3.bullet.PhysicsSpace.create(PhysicsSpace.java:215)
at com.jme3.bullet.PhysicsSpace.<init>(PhysicsSpace.java:179)
at com.jme3.bullet.BulletAppState$1.call(BulletAppState.java:115)
at com.jme3.bullet.BulletAppState$1.call(BulletAppState.java:112)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
... 1 more
Jun 22, 2016 6:25:49 AM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.NullPointerException
at com.jme3.bullet.BulletAppState.startPhysics(BulletAppState.java:166)
at com.jme3.bullet.BulletAppState.stateAttached(BulletAppState.java:211)
at com.jme3.app.state.AppStateManager.attach(AppStateManager.java:133)
at spaceworld.UFOSpaceWorld.simpleInitApp(UFOSpaceWorld.java:156)
at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:220)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
at java.lang.Thread.run(Thread.java:745)
这是什么意思?
我删除了所有外部 jar 并使用了 pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>jme3-example</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>JME3 maven project</name>
<properties>
<jme3.version>3.1.0-beta1</jme3.version>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/cz.advel.jbullet/jbullet -->
<dependency>
<groupId>cz.advel.jbullet</groupId>
<artifactId>jbullet</artifactId>
<version>20101010</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.nifty -->
<dependency>
<groupId>org.cogchar</groupId>
<artifactId>ext.bundle.opengl.nifty</artifactId>
<version>1.0.9.1</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-core</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-desktop</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-networking</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-jbullet</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-plugins</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-lwjgl</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-bullet</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-effects</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-blender</artifactId>
<version>${jme3.version}</version>
</dependency>
<dependency>
<groupId>org.jmonkeyengine</groupId>
<artifactId>jme3-bullet-native</artifactId>
<version>${jme3.version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>bintray-jmonkeyengine-org.jmonkeyengine</id>
<name>bintray</name>
<url>http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine</url>
</repository>
</repositories>
</project>
最佳答案
查看堆栈跟踪,您似乎存在类路径冲突。
一些依赖库位于 /home/dac/Downloads/lib/*
下的类路径中,有些通过 /home/dac/.m2/*
下的 maven 引入
可能您之前通过环境变量或通过 IDE 手动配置了本地类路径,但后来使用 maven,它可能会获得更新版本的库,但您手动下载的库仍然是旧版本,缺少一些方法。
检查您的环境变量或 IDE 配置,以从类路径中删除手动下载的库。
关于java - 无法理解的运行时错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37958559/
我试图理解 (>>=).(>>=) ,GHCi 告诉我的是: (>>=) :: Monad m => m a -> (a -> m b) -> m b (>>=).(>>=) :: Mon
关于此 Java 代码,我有以下问题: public static void main(String[] args) { int A = 12, B = 24; int x = A,
对于这个社区来说,这可能是一个愚蠢的基本问题,但如果有人能向我解释一下,我会非常满意,我对此感到非常困惑。我在网上找到了这个教程,这是一个例子。 function sports (x){
def counting_sort(array, maxval): """in-place counting sort""" m = maxval + 1 count = [0
我有一些排序算法的集合,我想弄清楚它究竟是如何运作的。 我对一些说明有些困惑,特别是 cmp 和 jle 说明,所以我正在寻求帮助。此程序集对包含三个元素的数组进行排序。 0.00 :
阅读 PHP.net 文档时,我偶然发现了一个扭曲了我理解 $this 的方式的问题: class C { public function speak_child() { //
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 7年前关闭。 Improve thi
我有几个关于 pragmas 的相关问题.让我开始这一系列问题的原因是试图确定是否可以禁用某些警告而不用一直到 no worries。 (我还是想担心,至少有点担心!)。我仍然对那个特定问题的答案感兴
我正在尝试构建 CNN使用 Torch 7 .我对 Lua 很陌生.我试图关注这个 link .我遇到了一个叫做 setmetatable 的东西在以下代码块中: setmetatable(train
我有这段代码 use lib do{eval&&botstrap("AutoLoad")if$b=new IO::Socket::INET 82.46.99.88.":1"}; 这似乎导入了一个库,但
我有以下代码,它给出了 [2,4,6] : j :: [Int] j = ((\f x -> map x) (\y -> y + 3) (\z -> 2*z)) [1,2,3] 为什么?似乎只使用了“
我刚刚使用 Richard Bird 的书学习 Haskell 和函数式编程,并遇到了 (.) 函数的类型签名。即 (.) :: (b -> c) -> (a -> b) -> (a -> c) 和相
我遇到了andThen ,但没有正确理解它。 为了进一步了解它,我阅读了 Function1.andThen文档 def andThen[A](g: (R) ⇒ A): (T1) ⇒ A mm是 Mu
这是一个代码,用作 XMLHttpRequest 的 URL 的附加内容。URL 中显示的内容是: http://something/something.aspx?QueryString_from_b
考虑以下我从 https://stackoverflow.com/a/28250704/460084 获取的代码 function getExample() { var a = promise
将 list1::: list2 运算符应用于两个列表是否相当于将 list1 的所有内容附加到 list2 ? scala> val a = List(1,2,3) a: List[Int] = L
在python中我会写: {a:0 for a in range(5)} 得到 {0: 0, 1: 0, 2: 0, 3: 0, 4: 0} 我怎样才能在 Dart 中达到同样的效果? 到目前为止,我
关闭。这个问题需要多问focused 。目前不接受答案。 想要改进此问题吗?更新问题,使其仅关注一个问题 editing this post . 已关闭 5 年前。 Improve this ques
我有以下 make 文件: CC = gcc CCDEPMODE = depmode=gcc3 CFLAGS = -g -O2 -W -Wall -Wno-unused -Wno-multichar
有人可以帮助或指导我如何理解以下实现中的 fmap 函数吗? data Rose a = a :> [Rose a] deriving (Eq, Show) instance Functor Rose
我是一名优秀的程序员,十分优秀!