58,454
社区成员
发帖
与我相关
我的任务
分享
05-17 09:19:40.818: E/AndroidRuntime(797): FATAL EXCEPTION: main
05-17 09:19:40.818: E/AndroidRuntime(797): java.lang.ExceptionInInitializerError
05-17 09:19:40.818: E/AndroidRuntime(797): at org.apache.lucene.index.LiveIndexWriterConfig.<init>(LiveIndexWriterConfig.java:118)
05-17 09:19:40.818: E/AndroidRuntime(797): at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:144)
05-17 09:19:40.818: E/AndroidRuntime(797): at com.example.lucene43.MainActivity.CreateFileIndexer(MainActivity.java:85)
05-17 09:19:40.818: E/AndroidRuntime(797): at com.example.lucene43.MainActivity.onCreate(MainActivity.java:53)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.Activity.performCreate(Activity.java:5104)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.ActivityThread.access$600(ActivityThread.java:141)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.os.Handler.dispatchMessage(Handler.java:99)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.os.Looper.loop(Looper.java:137)
05-17 09:19:40.818: E/AndroidRuntime(797): at android.app.ActivityThread.main(ActivityThread.java:5041)
05-17 09:19:40.818: E/AndroidRuntime(797): at java.lang.reflect.Method.invokeNative(Native Method)
05-17 09:19:40.818: E/AndroidRuntime(797): at java.lang.reflect.Method.invoke(Method.java:511)
05-17 09:19:40.818: E/AndroidRuntime(797): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
05-17 09:19:40.818: E/AndroidRuntime(797): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
05-17 09:19:40.818: E/AndroidRuntime(797): at dalvik.system.NativeStart.main(Native Method)
05-17 09:19:40.818: E/AndroidRuntime(797): Caused by: java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []
05-17 09:19:40.818: E/AndroidRuntime(797): at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:109)
05-17 09:19:40.818: E/AndroidRuntime(797): at org.apache.lucene.codecs.Codec.forName(Codec.java:95)
05-17 09:19:40.818: E/AndroidRuntime(797): at org.apache.lucene.codecs.Codec.<clinit>(Codec.java:122)
05-17 09:19:40.818: E/AndroidRuntime(797): ... 18 more