lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4204) Error with Codec on android
Date Tue, 10 Jul 2012 06:34:34 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410088#comment-13410088
] 

Simon Willnauer commented on LUCENE-4204:
-----------------------------------------

I haven't worked with android for a while but isn't android still on java 1.5? Lucene has
1.6 as min-req. so you must be building your own jar no? if so do you include the new core/src/resrouces/*
folders? There are some files in core/src/resources/META-INF/services/ that are required.
if you are using eclipse or something like this you need to makes sure you are copying these
files to a sep. folder otherwise they are overwritten like:

{noformat}
<classpathentry kind="src" path="lucene/core/src/java"/>
<classpathentry kind="src" output="bin.lucene-core" path="lucene/core/src/resources"/>
{noformat}
                
> Error with Codec on android
> ---------------------------
>
>                 Key: LUCENE-4204
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4204
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/codecs
>    Affects Versions: 4.0
>         Environment: Android 
>            Reporter: ROULLAND Bruno
>            Priority: Blocker
>              Labels: error, newbie
>             Fix For: 3.6
>
>
> Hello, with the latest version of Lucene 4.0, I have an error :
> "Codec with name ‘Lucene40′ does not exist.
> You need to add the corresponding JAR file supporting this SPI to
> your classpath. The current classpath supports the following names:
> []"
> Classpath is OK, but the method for initialise Codec don't work. 
> This error does not append with Lucene 3.6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message