can u tell which java file u are compiling and running? i am using nutch-1.0
. Please desribe the commands with arguments , so that i can find the cause
of the error. I may try running on my system.
On Tue, Mar 8, 2011 at 12:29 AM, bhawna singh [via Lucene] <
[email protected]> wrote:

> Yes I have compiled the java files.
> I do not see Analyze class in nutch1.2. The nutch 1.2 APIs also do not have
>
> Analyze class.
> What am I missing here?
>
> Thanks,
> BHawna
>
> On Sun, Mar 6, 2011 at 11:54 AM, Anurag <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=2647413&i=0&by-user=t>>
> wrote:
>
> > Did your java file compiled well? If yes , then its a classpath problem..
>
> > in case of classpath problem , run as $java -cp .(DOT)
>  filename(without
> > .class extens) or u can manually put a .(DOT) in the file where u set
> > classpath like in linux we do it in .bash_profile file...........
> >
> > On Sun, Mar 6, 2011 at 11:53 PM, bhawna singh [via Lucene] <
> > [hidden 
> > email]<http://user/SendEmail.jtp?type=node&node=2647413&i=1&by-user=t>>
> wrote:
> >
> > > Hi,
> > > I am getting ClassNotFoundException exception for the admin command. I
> > > searched on web and I see many other see this error too.
> > >
> > > I checked Nutch 1.1, 1.2 src and bin downloaders and still no luck.
> > Please
> > > point to the location where I can find the WebAdminTool class.
> > >
> > > Thanks,
> > > Bhawna
> > > Exception in thread "main" java.lang.NoClassDefFoundError: admin
> > > Caused by: java.lang.ClassNotFoundException: admin
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> > >         at java.security.AccessController.doPrivileged(Native Method)
> > >         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > >         at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> > > Could not find the main class: admin.  Program will exit.
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://lucene.472066.n3.nabble.com/ClassNotFoundException-admin-tp2642604p2642604.html<http://lucene.472066.n3.nabble.com/ClassNotFoundException-admin-tp2642604p2642604.html?by-user=t>
> > >  To start a new topic under Nutch - User, email
> > > [hidden 
> > > email]<http://user/SendEmail.jtp?type=node&node=2647413&i=2&by-user=t>
> > > To unsubscribe from Nutch - User, click here<
> >
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=603147&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw2MDMxNDd8LTIwOTgzNDQxOTY=<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=603147&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw2MDMxNDd8LTIwOTgzNDQxOTY=&by-user=t>
> > >.
> > >
> > >
> >
> >
> >
> > --
> > Kumar Anurag
> >
> >
> > -----
> > Kumar Anurag
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/ClassNotFoundException-admin-tp2642604p2642948.html<http://lucene.472066.n3.nabble.com/ClassNotFoundException-admin-tp2642604p2642948.html?by-user=t>
> > Sent from the Nutch - User mailing list archive at Nabble.com.
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Nutch-admin-and-analyze-class-missing-from-nutch-1-2-tp2647413p2647413.html
>  To start a new topic under Nutch - User, email
> [email protected]
> To unsubscribe from Nutch - User, click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=603147&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXw2MDMxNDd8LTIwOTgzNDQxOTY=>.
>
>



-- 
Kumar Anurag


-----
Kumar Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Nutch-admin-and-analyze-class-missing-from-nutch-1-2-tp2647413p2647719.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to