- Right click on your project - navigate to properties - go to java build path (or class path) I think it's third of 4th option on left hand navigation panel - ensure that the source of every src/main/java and src/test/java is on the project build path or else eclispe doesn't know where to find the classes.
This should be done automatically when you make the initial code import, however I cannot vouch for every Eclipse distribution to best to always manually check hth Lewis On Mon, Jul 2, 2012 at 9:12 AM, praful <[email protected]> wrote: > This is the error that i am getting when i run the project. > > * Exception in thread "main" java.lang.Error: Unresolved compilation ** > problems: > String cannot be resolved to a type > Exception cannot be resolved to a type > System cannot be resolved > at org.apache.nutch.crawl.Crawl.**main(Crawl.java:53)* > > > As i didnt understood the point No 3 of section *"Establish the Eclipse > environment for Nutch "*, so i skipped that point which i guess was > essential. > Can you please help me understand that point which says "In additon, we > must maunally add *EVERY* individual plugin src/java and src/test folder, > although this takes some time it is absolutely essential that this is done." > > I guess the problem lies within this only. > Please help me. I am stuck up with this from past 3-4 days which makes me > more frustrating as the time goes by. > > Thanks > Regards > Praful Bagai > > > On Mon, Jul 2, 2012 at 12:22 AM, Alexander Aristov [via Lucene] < > [email protected]> wrote: > >> I would check build path if it has some issues. >> >> Then did you set up plugins folder according to the article? I use >> absolute >> path to get rid of possible mistaces. >> >> What about error messages? Do you have some? Sometimes I experienced >> problem when eclispe didn't compile when I had errors in xml files. >> >> Where do your Eclipse compiled classes go to? THey should go to a separate >> folder, not ant folder. e.g. classes >> >> Best Regards >> Alexander Aristov >> >> >> On 30 June 2012 20:39, praful <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=3992362&i=0>> >> wrote: >> >> > Hi >> > I am running Nutch in Eclipse. >> > I followed the steps using this site : >> > http://wiki.apache.org/nutch/RunNutchInEclipse >> > >> > I encountered a problem while running which that says >> > >> > /Exception in thread "main" java.lang.Error: Unresolved compilation >> > problems: >> > String cannot be resolved to a type >> > Exception cannot be resolved to a type >> > System cannot be resolved >> > >> > at org.apache.nutch.crawl.Crawl.main(Crawl.java:53) >> > / >> > The build was successful. >> > >> > I am using nutch 1.4. >> > >> > Moreover, I would like to tell that i didnt understood the point 3 of >> > section *"Establish the Eclipse environment for Nutch"* and skipped it. >> I >> > guess the problem lies there only. >> > Can you please help me as the more I try to resolve it, the more i get >> > frustrated.Trying it from past 2 days. >> > It's a humble request please help >> > >> > -- >> > View this message in context: >> > http://lucene.472066.n3.nabble.com/Nutch-Exception-tp3992260.html >> > 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-Exception-tp3992260p3992362.html >> To unsubscribe from Nutch Exception, click >> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3992260&code=cHJhZnVsLmJhZ2FpMTk5MUBnbWFpbC5jb218Mzk5MjI2MHwtOTkxNjM5MjU=> >> . >> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Nutch-Exception-tp3992260p3992457.html > Sent from the Nutch - User mailing list archive at Nabble.com. -- Lewis

