You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by ThiepLV <le...@gmail.com> on 2015/07/02 19:51:49 UTC

Run nutch 2.x in eclipse

Hello

I have just begin study nutch, And I try run nutch 2.x in eclipse by
tutorial https://wiki.apache.org/nutch/RunNutchInEclipse

But when run InjectorJob then i have a exeption as follows:
2015-07-03 00:42:18,532 ERROR crawl.InjectorJob (InjectorJob.java:run(278))
- InjectorJob: java.lang.ClassNotFoundException:
org.apache.gora.sql.store.SqlStore
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:195)
	at
org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
	at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
	at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
	at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
	at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)

Please help me



--
View this message in context: http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Re: Run nutch 2.x in eclipse

Posted by Lê Văn Thiệp <le...@gmail.com>.
Thank you very much, you right i jumped over Configure Build Path step aka
6th step.

2015-07-03 22:57 GMT+07:00 Lê Văn Thiệp <le...@gmail.com>:

> thank you
> I try to jump over Configure Build Path step aka 6th step, but I can't
> run it.
>
> 2015-07-03 22:37 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:
>
>> I guess you jump over Configure Build Path step aka 6th step. Can you
>> check
>> your conf directory order ?
>> On Jul 3, 2015 6:15 PM, "Lê Văn Thiệp" <le...@gmail.com> wrote:
>>
>> > Hi Talat Uyarer
>> >
>> > I don't want to use SQL, I do as tutorial
>> > https://wiki.apache.org/nutch/RunNutchInEclipse to use Hbase but when i
>> > run
>> > InjectJob it throw exception as follows
>> > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
>> > (InjectorJob.java:run(278))-
>> > InjectorJob: java.lang.ClassNotFoundException:
>> > org.apache.gora.sql.store.SqlStore
>> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> >         at java.security.AccessController.doPrivileged(Native Method)
>> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>> >         at java.lang.Class.forName0(Native Method)
>> >         at java.lang.Class.forName(Class.java:195)
>> >         at
>> > org.apache.nutch.storage.StorageUtils.getDataStoreClass(
>> > StorageUtils.java:93)
>> >         at
>> >
>> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
>> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
>> >         at
>> org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
>> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
>> >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>> >         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
>> >
>> > Many thanks
>> >
>> > 2015-07-03 21:16 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:
>> >
>> > > Hi,
>> > >
>> > > Do you want to use SQL ? Now 2.X branch does not support. You can use
>> > > another store that is supported by apache gora
>> > >
>> > > HTH
>> > > On Jul 2, 2015 20:52, "ThiepLV" <le...@gmail.com> wrote:
>> > >
>> > > > Hello
>> > > >
>> > > > I have just begin study nutch, And I try run nutch 2.x in eclipse by
>> > > > tutorial https://wiki.apache.org/nutch/RunNutchInEclipse
>> > > >
>> > > > But when run InjectorJob then i have a exeption as follows:
>> > > > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
>> > > (InjectorJob.java:run(278))
>> > > > - InjectorJob: java.lang.ClassNotFoundException:
>> > > > org.apache.gora.sql.store.SqlStore
>> > > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>> > > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>> > > >         at java.security.AccessController.doPrivileged(Native
>> Method)
>> > > >         at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>> > > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>> > > >         at
>> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>> > > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>> > > >         at java.lang.Class.forName0(Native Method)
>> > > >         at java.lang.Class.forName(Class.java:195)
>> > > >         at
>> > > >
>> > > >
>> > >
>> >
>> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
>> > > >         at
>> > > >
>> > >
>> >
>> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
>> > > >         at
>> org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
>> > > >         at
>> > > org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
>> > > >         at
>> org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
>> > > >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>> > > >         at
>> > org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
>> > > >
>> > > > Please help me
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > View this message in context:
>> > > >
>> > >
>> >
>> http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
>> > > > Sent from the Nutch - User mailing list archive at Nabble.com.
>> > > >
>> > >
>> >
>> >
>> >
>> > --
>> >
>> >
>> >
>> >
>> > *Best Regards--------------Lê Văn Thiệp *
>> > *Student*Address: IT4 class, Hanoi University of Science and Technology
>> > Mobile: 01656241339
>> > Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
>> > Y! Messenger: mucdong_demdaysao_lvt
>> > My profile:  <https://www.facebook.com/thieplv> Facebook
>> > <https://www.facebook.com/thieplv>
>> >
>>
>
>
>
> --
>
>
>
>
> *Best Regards--------------Lê Văn Thiệp *
> *Student*Address: IT4 class, Hanoi University of Science and Technology
> Mobile: 01656241339
> Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
> Y! Messenger: mucdong_demdaysao_lvt
> My profile:  <https://www.facebook.com/thieplv> Facebook
> <https://www.facebook.com/thieplv>
>



-- 




*Best Regards--------------Lê Văn Thiệp *
*Student*Address: IT4 class, Hanoi University of Science and Technology
Mobile: 01656241339
Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
Y! Messenger: mucdong_demdaysao_lvt
My profile:  <https://www.facebook.com/thieplv> Facebook
<https://www.facebook.com/thieplv>

Re: Run nutch 2.x in eclipse

Posted by Lê Văn Thiệp <le...@gmail.com>.
thank you
I try to jump over Configure Build Path step aka 6th step, but I can't run
it.

2015-07-03 22:37 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:

> I guess you jump over Configure Build Path step aka 6th step. Can you check
> your conf directory order ?
> On Jul 3, 2015 6:15 PM, "Lê Văn Thiệp" <le...@gmail.com> wrote:
>
> > Hi Talat Uyarer
> >
> > I don't want to use SQL, I do as tutorial
> > https://wiki.apache.org/nutch/RunNutchInEclipse to use Hbase but when i
> > run
> > InjectJob it throw exception as follows
> > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
> > (InjectorJob.java:run(278))-
> > InjectorJob: java.lang.ClassNotFoundException:
> > org.apache.gora.sql.store.SqlStore
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:195)
> >         at
> > org.apache.nutch.storage.StorageUtils.getDataStoreClass(
> > StorageUtils.java:93)
> >         at
> >
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
> >         at
> org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
> >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> >         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
> >
> > Many thanks
> >
> > 2015-07-03 21:16 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:
> >
> > > Hi,
> > >
> > > Do you want to use SQL ? Now 2.X branch does not support. You can use
> > > another store that is supported by apache gora
> > >
> > > HTH
> > > On Jul 2, 2015 20:52, "ThiepLV" <le...@gmail.com> wrote:
> > >
> > > > Hello
> > > >
> > > > I have just begin study nutch, And I try run nutch 2.x in eclipse by
> > > > tutorial https://wiki.apache.org/nutch/RunNutchInEclipse
> > > >
> > > > But when run InjectorJob then i have a exeption as follows:
> > > > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
> > > (InjectorJob.java:run(278))
> > > > - InjectorJob: java.lang.ClassNotFoundException:
> > > > org.apache.gora.sql.store.SqlStore
> > > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> > > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > > >         at java.security.AccessController.doPrivileged(Native Method)
> > > >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > > >         at
> > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > > >         at java.lang.Class.forName0(Native Method)
> > > >         at java.lang.Class.forName(Class.java:195)
> > > >         at
> > > >
> > > >
> > >
> >
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
> > > >         at
> > > >
> > >
> >
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
> > > >         at
> org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
> > > >         at
> > > org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
> > > >         at
> org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
> > > >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> > > >         at
> > org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
> > > >
> > > > Please help me
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
> > > > Sent from the Nutch - User mailing list archive at Nabble.com.
> > > >
> > >
> >
> >
> >
> > --
> >
> >
> >
> >
> > *Best Regards--------------Lê Văn Thiệp *
> > *Student*Address: IT4 class, Hanoi University of Science and Technology
> > Mobile: 01656241339
> > Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
> > Y! Messenger: mucdong_demdaysao_lvt
> > My profile:  <https://www.facebook.com/thieplv> Facebook
> > <https://www.facebook.com/thieplv>
> >
>



-- 




*Best Regards--------------Lê Văn Thiệp *
*Student*Address: IT4 class, Hanoi University of Science and Technology
Mobile: 01656241339
Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
Y! Messenger: mucdong_demdaysao_lvt
My profile:  <https://www.facebook.com/thieplv> Facebook
<https://www.facebook.com/thieplv>

Re: Run nutch 2.x in eclipse

Posted by Talat Uyarer <ta...@uyarer.com>.
I guess you jump over Configure Build Path step aka 6th step. Can you check
your conf directory order ?
On Jul 3, 2015 6:15 PM, "Lê Văn Thiệp" <le...@gmail.com> wrote:

> Hi Talat Uyarer
>
> I don't want to use SQL, I do as tutorial
> https://wiki.apache.org/nutch/RunNutchInEclipse to use Hbase but when i
> run
> InjectJob it throw exception as follows
> 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
> (InjectorJob.java:run(278))-
> InjectorJob: java.lang.ClassNotFoundException:
> org.apache.gora.sql.store.SqlStore
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:195)
>         at
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(
> StorageUtils.java:93)
>         at
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
>         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
>         at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
>         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
>
> Many thanks
>
> 2015-07-03 21:16 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:
>
> > Hi,
> >
> > Do you want to use SQL ? Now 2.X branch does not support. You can use
> > another store that is supported by apache gora
> >
> > HTH
> > On Jul 2, 2015 20:52, "ThiepLV" <le...@gmail.com> wrote:
> >
> > > Hello
> > >
> > > I have just begin study nutch, And I try run nutch 2.x in eclipse by
> > > tutorial https://wiki.apache.org/nutch/RunNutchInEclipse
> > >
> > > But when run InjectorJob then i have a exeption as follows:
> > > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
> > (InjectorJob.java:run(278))
> > > - InjectorJob: java.lang.ClassNotFoundException:
> > > org.apache.gora.sql.store.SqlStore
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > >         at java.security.AccessController.doPrivileged(Native Method)
> > >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > >         at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > >         at java.lang.Class.forName0(Native Method)
> > >         at java.lang.Class.forName(Class.java:195)
> > >         at
> > >
> > >
> >
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
> > >         at
> > >
> >
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
> > >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
> > >         at
> > org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
> > >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
> > >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> > >         at
> org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
> > >
> > > Please help me
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
> > > Sent from the Nutch - User mailing list archive at Nabble.com.
> > >
> >
>
>
>
> --
>
>
>
>
> *Best Regards--------------Lê Văn Thiệp *
> *Student*Address: IT4 class, Hanoi University of Science and Technology
> Mobile: 01656241339
> Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
> Y! Messenger: mucdong_demdaysao_lvt
> My profile:  <https://www.facebook.com/thieplv> Facebook
> <https://www.facebook.com/thieplv>
>

Re: Run nutch 2.x in eclipse

Posted by Lê Văn Thiệp <le...@gmail.com>.
Hi Talat Uyarer

I don't want to use SQL, I do as tutorial
https://wiki.apache.org/nutch/RunNutchInEclipse to use Hbase but when i run
InjectJob it throw exception as follows
2015-07-03 00:42:18,532 ERROR crawl.InjectorJob (InjectorJob.java:run(278))-
InjectorJob: java.lang.ClassNotFoundException:
org.apache.gora.sql.store.SqlStore
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:195)
        at
org.apache.nutch.storage.StorageUtils.getDataStoreClass(
StorageUtils.java:93)
        at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
        at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
        at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
        at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)

Many thanks

2015-07-03 21:16 GMT+07:00 Talat Uyarer <ta...@uyarer.com>:

> Hi,
>
> Do you want to use SQL ? Now 2.X branch does not support. You can use
> another store that is supported by apache gora
>
> HTH
> On Jul 2, 2015 20:52, "ThiepLV" <le...@gmail.com> wrote:
>
> > Hello
> >
> > I have just begin study nutch, And I try run nutch 2.x in eclipse by
> > tutorial https://wiki.apache.org/nutch/RunNutchInEclipse
> >
> > But when run InjectorJob then i have a exeption as follows:
> > 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob
> (InjectorJob.java:run(278))
> > - InjectorJob: java.lang.ClassNotFoundException:
> > org.apache.gora.sql.store.SqlStore
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:195)
> >         at
> >
> >
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
> >         at
> >
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
> >         at
> org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
> >         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
> >         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> >         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
> >
> > Please help me
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
> > Sent from the Nutch - User mailing list archive at Nabble.com.
> >
>



-- 




*Best Regards--------------Lê Văn Thiệp *
*Student*Address: IT4 class, Hanoi University of Science and Technology
Mobile: 01656241339
Email: ThiepLV@telsoft.com.vn || lethiep.bk@gmail.com
Y! Messenger: mucdong_demdaysao_lvt
My profile:  <https://www.facebook.com/thieplv> Facebook
<https://www.facebook.com/thieplv>

Re: Run nutch 2.x in eclipse

Posted by Talat Uyarer <ta...@uyarer.com>.
Hi,

Do you want to use SQL ? Now 2.X branch does not support. You can use
another store that is supported by apache gora

HTH
On Jul 2, 2015 20:52, "ThiepLV" <le...@gmail.com> wrote:

> Hello
>
> I have just begin study nutch, And I try run nutch 2.x in eclipse by
> tutorial https://wiki.apache.org/nutch/RunNutchInEclipse
>
> But when run InjectorJob then i have a exeption as follows:
> 2015-07-03 00:42:18,532 ERROR crawl.InjectorJob (InjectorJob.java:run(278))
> - InjectorJob: java.lang.ClassNotFoundException:
> org.apache.gora.sql.store.SqlStore
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:195)
>         at
>
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:93)
>         at
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:77)
>         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
>         at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
>         at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)
>
> Please help me
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Run-nutch-2-x-in-eclipse-tp4215480.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>