java.lang.NoClassDefFoundError:org.jboss.netty.bootstrap.ClientBootstrap

时间:2013-07-31 08:44:48

标签: android netty

我正在使用http://fyrecloud.com/amsler#mysql_replication复制mysql和sqlite但是当我尝试运行它时,我在点击开始同步按钮后遇到了这个错误

07-31 11:36:35.243: E/AndroidRuntime(7158): FATAL EXCEPTION: main
07-31 11:36:35.243: E/AndroidRuntime(7158): java.lang.NoClassDefFoundError: org.jboss.netty.bootstrap.ClientBootstrap
07-31 11:36:35.243: E/AndroidRuntime(7158):     at com.fyrecloud.amsler.Synchronizer.init(Synchronizer.java:67)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at com.fyrecloud.amsler.Synchronize.onCreate(Synchronize.java:54)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.Activity.performCreate(Activity.java:5008)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1089)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.ActivityThread.access$600(ActivityThread.java:130)
07-31 11:36:35.243: E/AndroidRuntime(7158):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)

有什么问题?

1 个答案:

答案 0 :(得分:0)

我通过将'exported =“true”'添加到.classpath文件以使其成为<classpathentry exported="true" kind="lib" path="netty-3.2.6.Final.jar"/>来解决此问题

但我不明白这是什么问题?