You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Nana Pandiawan <na...@solusi247.com.INVALID> on 2016/07/27 10:42:53 UTC

Error Enable Feed Plugin

Dear All,
I have a problem when enable "feed" plugins at Apache Nutch 2.3.1. I 
tried to modify lines in ${NUTCH_HOME}/src/plugin/build.xml and 
${NUTCH_HOME}/build.xml but it doesnt work.

The following is error :

resolve-default:
[ivy:resolve] :: loading settings :: file = 
/home/hduser/feed/apache-nutch-2.3.1/ivy/ivysettings.xml

compile:
      [echo] Compiling plugin: feed
     [javac] Compiling 4 source files to 
/home/hduser/feed/apache-nutch-2.3.1/build/feed/classes
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:71: 
error: cannot find symbol
     [javac]   public NutchDocument filter(NutchDocument doc, Parse 
parse, Text url, CrawlDatum datum,
[javac] ^
     [javac]   symbol:   class CrawlDatum
     [javac]   location: class FeedIndexingFilter
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:72: 
error: cannot find symbol
     [javac]                          Inlinks inlinks) throws 
IndexingException {
     [javac]                          ^
     [javac]   symbol:   class Inlinks
     [javac]   location: class FeedIndexingFilter
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/parse/feed/FeedParser.java:102: 
error: cannot find symbol
     [javac]   public ParseResult getParse(Content content) {
     [javac]          ^
     [javac]   symbol:   class ParseResult
     [javac]   location: class FeedParser
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/parse/feed/FeedParser.java:217: 
error: cannot find symbol
     [javac]   private void addToMap(ParseResult parseResult, SyndFeed feed,
     [javac]                         ^
     [javac]   symbol:   class ParseResult
     [javac]   location: class FeedParser
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:46: 
error: FeedIndexingFilter is not abstract and does not override abstract 
method filter(NutchDocument,String,WebPage) in IndexingFilter
     [javac] public class FeedIndexingFilter implements IndexingFilter {
     [javac]        ^
     [javac] 
/home/hduser/feed/apache-nutch-2.3.1/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/FeedIndexingFilter.java:73: 
error: cannot find symbol
  [javac]     ParseData parseData = parse.getData();
     [javac]     ^
     [javac]   symbol:   class ParseData
     [javac]   location: class FeedIndexingFilter

Thank you for helping me.
Regards.