Update: never mind, I was placing the files in the wrong folder. Solved!

Thanks,
Daniel

On 15 January 2015 at 17:00, Daniel Duma <danield...@gmail.com> wrote:

> Hi all,
>
> I have added some classes that I need to Lucene and now I cannot build
> PyLucene 4.9.
>
> Everything runs fine inside Eclipse, but when copying the .java files to
> the corresponding folders inside the PyLucene source directory and
> rebuilding, I get this error:
>
>
>
>
>
> *C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\core\src\java\org\apache\lucene\queryparser\classic\FieldAgnosticQueryParser.java:12:
> error: cannot find symbolsymbol: class QueryParser*Here is the full output:
>
> ivy-configure:
> [ivy:configure] :: Apache Ivy 2.4.0-rc1 - 20140315220245 ::
> http://ant.apache.org/ivy/ ::
> [ivy:configure] :: loading settings :: file =
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\ivy-settings.xml
>
> resolve:
>
> init:
>
> -clover.disable:
>
> -clover.load:
>
> -clover.classpath:
>
> -clover.setup:
>
> clover:
>
> compile-core:
>     [javac] Compiling 734 source files to
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\build\core\classes\java
>     [javac]
>
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\core\src\java\org\apache\lucene\queryparser\classic\FieldAgnosticMultiFieldQueryParser.java:15:
> error: cannot find symbol
>     [javac]             MultiFieldQueryParser {
>     [javac]             ^
>     [javac]   symbol: class MultiFieldQueryParser
>     [javac]
>
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\core\src\java\org\apache\lucene\queryparser\classic\FieldAgnosticQueryParser.java:12:
> error: cannot find symbol
>     [javac] public class FieldAgnosticQueryParser extends QueryParser {
>     [javac]                                               ^
>     [javac]   symbol: class QueryParser
>     [javac]
>
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\core\src\java\org\apache\lucene\queryparser\classic\FieldAgnosticMultiFieldQueryParser.java:23:
> error: method does not override or implement a method from a supertype
>     [javac]     @Override
>     [javac]     ^
>
> BUILD FAILED
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\common-build.xml:694: The
> following error occurred while executing this line:
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\common-build.xml:480: The
> following error occurred while executing this line:
> C:\NLP\pylucene-4.9.0-0\lucene-java-4.9.0\lucene\common-build.xml:1755:
> Compile failed; see the compiler error output for details.
>
> PyLucene builds just fine without the added files, and I have checked and
> the files it can't find are where they should be!
>
> Cheers,
> Daniel
>

Reply via email to