Hi,
I have checked out the latest Nutch trunk(1.10) which has tika 1.7.
I followed all the steps mentioned on the Selenium git hub page and also
applied the patch.
Yet when I am trying to build the Nutch, I get the following errors.

[javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:14:
error: package org.apache.nutch.storage does not exist
    [javac] import org.apache.nutch.storage.WebPage;
    [javac]                                ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:15:
error: package org.apache.nutch.storage.WebPage does not exist
    [javac] import org.apache.nutch.storage.WebPage.Field;
    [javac]                                        ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:26:
error: package WebPage does not exist
    [javac]   private static final Collection<WebPage.Field> FIELDS = new
HashSet<WebPage.Field>();
    [javac]                                          ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:49:
error: cannot find symbol
    [javac]     protected Response getResponse(URL url, WebPage page,
boolean redirect)
    [javac]                                             ^
    [javac]   symbol:   class WebPage
    [javac]   location: class Http
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:55:
error: package WebPage does not exist
    [javac]   public Collection<WebPage.Field> getFields() {
    [javac]                            ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/HttpResponse.java:16:
error: package org.apache.nutch.storage does not exist
    [javac] import org.apache.nutch.storage.WebPage;
    [javac]                                ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/HttpResponse.java:47:
error: cannot find symbol
    [javac]     public HttpResponse(Http http, URL url, WebPage page,
Configuration conf) throws ProtocolException, IOException {
    [javac]                                             ^
    [javac]   symbol:   class WebPage
    [javac]   location: class HttpResponse
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:26:
error: package WebPage does not exist
    [javac]   private static final Collection<WebPage.Field> FIELDS = new
HashSet<WebPage.Field>();
    [javac]
             ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:29:
error: package WebPage does not exist
    [javac]     FIELDS.add(WebPage.Field.MODIFIED_TIME);
    [javac]                       ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:30:
error: package WebPage does not exist
    [javac]     FIELDS.add(WebPage.Field.HEADERS);
    [javac]                       ^
    [javac]
/home/yash/Desktop/572/nutch3/nutch/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/Http.java:54:
error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] 11 errors

Any help on how to resolve this issue will be appreciated.
I know this error was raised in a previous email, but there were no
solutions stated, except for checking out the nutch trunk again.


Thanks,
Yash Sangani

Reply via email to