indeed. Lucene should not have strong dependencies to RMI stuff. sounds weird. Also have a look at : https://minion.dev.java.net/
On Thu, May 29, 2008 at 12:48 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > >> I would like to use Apace Lucene, but this does not seem to work. I >> have created an Android project using Eclipse and added "lucene- >> core-2.3.2.jar" (from the recent Lucene package) to my project. This >> approach works for non-Android projects, but with Android I get an >> "InvocationTargetException" (cause: NoClassDefFoundError). > > <snip> > >> DEBUG/dalvikvm(1361): NOTE: loadClass 'java.rmi.Remote' 0x400acd40 >> threw an exception >> WARN/dalvikvm(1361): Failed resolving Lorg/apache/lucene/search/ >> Searchable; interface 379 'Ljava/rmi/Remote;' >> WARN/dalvikvm(1361): Link of class 'Lorg/apache/lucene/search/ >> Searchable;' failed > > I don't think Android has the java.rmi package. > > If you examine the Lucene source code you can hopefully find the class > (classes?) where they have the dependency on RMI. With luck, they won't be > critical, and you can create your own hacked copy of the JAR with those > classes removed. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > The Busy Coder's Guide to Android Development -- coming in June 2008! > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

