Hi Tony,
Anyone is free to add to the wiki.
If you want to sign up, post your uid to [email protected], then one of
us will give you creds to edit/amend the wiki.
Your experiences will  be very very valuable to others.
Glad you got it sorted.
Lewis

On Thursday, June 13, 2013, Tony Mullins <[email protected]> wrote:
> Thanks again Tejas.
> This worked. I think these all configurations should be in wiki.. so the
> new users specially who are coming from non-java background (like me)
could
> benifit from this and create less traffic in mailing lists :)
>
> Thanks.
> Tony.
>
>
> On Thu, Jun 13, 2013 at 10:38 PM, Tejas Patil <[email protected]
>wrote:
>
>> I can't see the image that you attached.
>>
>> Anyways, if you are running via command line (ie. runtime/local): set
>> "plugin.folders" to "plugins" in
>> "NUTCH_HOME/runtime/local/conf/nutch-site.xml". For running from
>> Eclipse, set "plugin.folders" to the absolute path of directory where the
>> plugins are generated (ie. NUTCH_HOME/build/plugins) in
>> "NUTCH_HOME/conf/nutch-site.xml"
>>
>> On Thu, Jun 13, 2013 at 5:38 AM, Tony Mullins <[email protected]
>> >wrote:
>>
>> > Tejas,
>> >
>> > I can now successfully run the plugin from terminal like bin/nutch
>> > parsechecker http://www.google.nl....
>> >
>> > But if I try to run my code directly from eclipse , with main class as
>> > 'org.apache.nutch.parse.ParserChecker' and program arguments as '
>> > http://www.google.nl' it fails with same exception of ClassNotFound.
>> >
>> > Please see the attached image.
>> >
>> > [image: Inline image 1]
>> >
>> >
>> > I have tried 'ant clean' in my Nutch2.2 source...  but same error !!!
>> >
>> > Could you please help me fixing this issue.
>> >
>> > Thanks,
>> > Tony
>> >
>> >
>> >
>> >
>> > On Thu, Jun 13, 2013 at 2:23 PM, Tony Mullins <[email protected]
>> >wrote:
>> >
>> >> Thank you very much Tejas. It worked. :)
>> >>
>> >> Just wondering why did you ask me to remove the 'plugin.folders' from
>> >> conf/nutch-site.xml ?
>> >> And the problem was due to bad cache/runtime build ?
>> >>
>> >> Thank you again !!!
>> >> Tony.
>> >>
>> >>
>> >>
>> >> On Thu, Jun 13, 2013 at 1:47 PM, Tejas Patil <[email protected]
>> >wrote:
>> >>
>> >>> I don't see any attachments with the mail.
>> >>>
>> >>> Anyways, you need to:
>> >>> 1. remove all your changes from conf/nutch-default.xml. Make it in
sync
>> >>> with svn. (rm conf/nutch-default.xml && svn up
conf/nutch-default.xml)
>> >>> 2. In conf/nutch-site.xml, remove the entry for "plugin.folders"
>> >>> 3. run "ant clean runtime"
>> >>>
>> >>> Now try again.
>> >>>
>> >>>
>> >>> On Thu, Jun 13, 2013 at 1:39 AM, Tony Mullins <
>> [email protected]
>> >>> >wrote:
>> >>>
>> >>> > Hi Tejas,
>> >>> >
>> >>> > Thanks for pointing out the problem. I have changed the package to
>> >>> > kaqqao.nutch.selector and have also modified the package in java
>> source
>> >>> > files as package kaqqao.nutch.selector;
>> >>> >
>> >>> > But I am still getting the ClassNotFound exception... please see
>> >>> attached
>> >>> > images !!!
>> >>> >
>> >>> > Please note that I am using fresh Nutch 2.2 source without
additional
>> >>> > patch ... do I need to apply any patch to run this ?
>> >>> >
>> >>> > Thanks,
>> >>> > Tony.
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Thu, Jun 13, 2013 at 1:16 PM, Tejas Patil <
>> [email protected]
>> >>> >wrote:
>> >>> >
>> >>> >> The package structure you actually have is:
>> >>> >> *kaqqao.nutch.plugin.selector;*
>> >>> >>
>> >>> >> In src/plugin/element-selector/plugin.xml you have defined it as:
>> >>> >>
>> >>> >>    <extension
>> id="*kaqqao.nutch.selector*.HtmlElementSelectorIndexer

-- 
*Lewis*

Reply via email to