Lucid Imagination

Secondary links

  • Contact Us
  • Sign Up or Login
  • Downloads
  • Solutions
    • Partners |
    • Blog |
    • Software |
    • Services |
    • Training |
    • Case Studies |
    • Webcasts |
  • Developers
    • Blog |
    • Tech Articles |
    • Community |
    • Docs |
    • Downloads |
    • Whitepapers |
    • Podcasts |
  • About
    • Market Overview |
    • Management |
    • Company News |
    • In the Media |
    • Contact |

beta

Start new search

Back to search results

  1. FromDate
  2. Arnaud Garcia2010-03-15 09:14
  3. Arnaud Garcia2010-03-15 10:26
  4. Alexander Aristov2010-03-15 10:56

[nutch-user] Problem with ANT in building new Plugin for Nutch 1.0 ----- error in finding classes in packages

Subject:
Re: Problem with ANT in building new Plugin for Nutch 1.0 ----- error in finding classes in packages
From:
Alexander Aristov <alexander.aristov@...>
Date:
2010-03-15 10:56
Hi

Obviously You didn't include necessary references to other JARs or source
directories. It's configured in plugin.xml
Check the file and add there all necessary references. Remember that each
plugin is compiled separately and it doesn't know about other plugins.
Compare your ANT files with files from other plugins. Maybe it will give you
a hint.


Best Regards
Alexander Aristov


On 15 March 2010 17:26, Arnaud Garcia <arnaud1660@gmail.com> wrote:

HELLO There is'nt anyone who know from where this problem came ????? PLEASE A HELP 2010/3/15 Arnaud Garcia <arnaud1660@gmail.com>
Hello everyone I'm trying to add a new plugin to Nutch/Solr for having new fields and finally searching about it in the terminal interface. For that , i have readen the howto WritingPluginexample 0.9 from the
apache
wiki and i 'm trying to doing that . I have a problem with the building of the new plugin with ant : This problem like cames from packages and ant can't import classes from other packages . Can anyone help me please what i must do for resolving this problem ???? Here is a copy of results of ANT building : [javac]
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedParser.java:34:
cannot find symbol [javac] symbol : class Parse [javac] location: class org.apache.nutch.parse.recommended.RecommendedParser [javac] public Parse filter(Content content, Parse parse, [javac] ^ [javac]
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedParser.java:35:
cannot find symbol [javac] symbol : class HTMLMetaTags [javac] location: class org.apache.nutch.parse.recommended.RecommendedParser [javac] HTMLMetaTags metaTags, DocumentFragment doc) { [javac] ^ [javac]
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedParser.java:34:
cannot find symbol [javac] symbol : class Parse [javac] location: class org.apache.nutch.parse.recommended.RecommendedParser [javac] public Parse filter(Content content, Parse parse, [javac] ^ [javac]
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedQueryFilter.java:3:
package org.apache.nutch.searcher does not exist [javac] import org.apache.nutch.searcher.FieldQueryFilter; [javac] ^ [javac]
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedQueryFilter.java:12:
cannot find symbol [javac] symbol: class FieldQueryFilter [javac] public class RecommendedQueryFilter extends FieldQueryFilter
{
[javac] ^ [javac] Note:
/home/Arnaud/nutch/src/plugin/recommended/src/java/org/apache/nutch/parse/recommended/RecommendedIndexer.java
uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 23 errors BUILD FAILED /home/Arnaud/nutch/src/plugin/build-plugin.xml:111: Compile failed; see
the
compiler error output for details. Total time: 3 seconds Note : I m using Nutch 1.0 but the howto writingpluginexample on the wiki is for 0.9 version ??? I didn't think that can be come from that ??Maybe YES or NOT ??? Please can anyone from the expert give me a help ????????????? Thks

Solr Powered

Give us your feedback

  • Lucene
  • Solr
  • Nutch
  • Tika
  • Mahout
  • Droids
  • PyLucene
  • Lucene.Net
  • Lucy
  • Lucene4c
  • Open Relevance Project
  • How We Can Help:
    • Getting Started |
    • Support Subscriptions |
    • White Papers |
    • Training |
    • Consulting |
    • Contact Us |
  • Developers:
    • Blog |
    • Documentation |
    • Tech Articles |
    • Podcasts and Videos |
    • Community |
  • Downloads:
    • LucidWorks for Solr |
    • LucidWorks for Lucene |
    • LucidGaze for Solr |
    • LucidGaze for Lucene |
  • Products:
  • Services:

Contact | Privacy Policy | Legal Terms of Use | Copyrights and Disclaimers | Admin

Apache Solr, Apache Lucene, ApacheCon and their logos are trademarks of the Apache Software Foundation.

© 2010 Lucid Imagination. All Right reserved.