android常见错误-E/AndroidRuntime(13678): java.lang.NoClassDefFoundError:

08-01 11:09:39.791: E/AndroidRuntime(13678): FATAL EXCEPTION: main

08-01 11:09:39.791: E/AndroidRuntime(13678): java.lang.NoClassDefFoundError: org.androidpn.client.PersistentConnectionListener

出现上述调试信息,并且真机上出现错误。

原因:代码依赖于其他库,要在具体project上右键属性,在java build path里的order and export里把要编译的包文件前打勾。

然后再clean该工程,刷新再运行就可以了。

时间: 2024-10-07 00:08:13

android常见错误-E/AndroidRuntime(13678): java.lang.NoClassDefFoundError:的相关文章

FreeMarker与Spring MVC 4结合错误:Caused by: java.lang.NoClassDefFoundError: org/springframework/ui/freemarker/FreeMarkerConfiguration

添加spring-context-support的依赖到POM: <!-- spring-context-support --> <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support --> <dependency> <groupId>org.springframework</groupId> <artifactId>spr

很急!!! java.lang.NoClassDefFoundError: com.android.volley.toolbox.Volley

============问题描述============ 日志文件如下,不知道是什么原因报如下错误 08-01 16:33:35.001: E/AndroidRuntime(31240): FATAL EXCEPTION: main 08-01 16:33:35.001: E/AndroidRuntime(31240): Process: cn.phonecms.main, PID: 31240 08-01 16:33:35.001: E/AndroidRuntime(31240): java.

【COCOS2D-X 备注篇】ASSETMANAGEREX使用异常解决备注-&gt;CHECK_JNI/CC‘JAVA.LANG.NOCLASSDEFFOUNDERROR’

本站文章均为李华明Himi原创,转载务必在明显处注明:(作者新浪微博:@李华明Himi) 转载自[黑米GameDev街区] 原文链接: check_jni.cc JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception 'java.lang.NoClassDefFoundError' thrown in unknown throw location>http://www.himigame.c

java.lang.NoClassDefFoundError

02-15 09:57:49.170: D/ActivityThread(25210): handleBindApplication:com.poxiao.fish02-15 09:57:49.170: D/ActivityThread(25210): setTargetHeapUtilization:0.7502-15 09:57:49.170: D/ActivityThread(25210): setTargetHeapMinFree:209715202-15 09:57:49.200: E

Caused by: java.lang.NoClassDefFoundError: com/tansuosoft/discoverx/common/Config

1.错误描述 Caused by: java.lang.NoClassDefFoundError: com/tansuosoft/discoverx/common/Config at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(Se

Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext

1.错误描述 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/smp]] at java.util.concurre

Maven下java.lang.NoClassDefFoundError

本文转载自:http://blog.csdn.net/qqhjqs/article/details/51491516 使用maven管理web项目中jar包之间的依赖,非常的方便好用,但是有时也会出现问题 项目里用net.sf.json使用maven配置了以下jar包 jakarta commons-lang 2.5 jakarta commons-beanutils 1.8.0 jakarta commons-collections 3.2.1 jakarta commons-logging

Caused by java lang NoClassDefFoundError org/springframewo

1.错误描述 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/smp]] at java.util.concurre

(转)Android工程出现 java.lang.NoClassDefFoundError错误解决方法

在Eclipse中,导入Android工程,工程没有报错,运行时,出现 java.lang.NoClassDefFoundError类没有找到的错误.从问题上可以看出是导入包出错的原因.遂百度加谷歌. 问题出在:ADT高版本的原因 把引入的第三方包放在Referenced Libraries中,ADT升级到17后就出现了Android Dependencies,所以如果程序中引入的第三方包没有在Android Dependencies中时,就会报文章开头的错. 解决方法: 先移除之前的Refer