You are using the Github version of the patch which only works
with Nutch2 - you need to use NUTCH-1933.

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: [email protected]
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Yash Sangani <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Friday, February 20, 2015 at 12:36 AM
To: "[email protected]" <[email protected]>
Subject: Problem installing Selenium on Ubuntu with Nutch trunk 1.10

>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