You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Rajesh Munavalli <fi...@gmail.com> on 2006/03/29 21:48:31 UTC

CrawlTool

Hi,
        I tried to create a separate crawler based on the CrawlTool class.
The code compiles fine but throws the following runtime exception. If I move
the same class into nutch package, it works fine. Does anyone know what I am
missing?

Thanks,
Rajesh
Blog: http://mathsearch.blogspot.com

--------------------------------------------------------------

java.lang.NoSuchFieldError: fRecognizedFeatures

at org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.<init>(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(*Native Method*)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(*
NativeConstructorAcces

sorImpl.java:39*)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(*
DelegatingConstruc

torAccessorImpl.java:27*)

at java.lang.reflect.Constructor.newInstance(*Constructor.java:274*)

at java.lang.Class.newInstance0(*Class.java:308*)

at java.lang.Class.newInstance(*Class.java:261*)

at org.apache.xerces.util.ObjectFactory.newInstance(*ObjectFactory.java:296*
)

at org.apache.xerces.util.ObjectFactory.createObject(*ObjectFactory.java:224
*)

at org.apache.xerces.util.ObjectFactory.createObject(*ObjectFactory.java:119
*)

at org.apache.xerces.parsers.DOMParser.<init>(*DOMParser.java:109*)

at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(*
DocumentBuilderImpl.java:1

06*)

at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(*
Documen

tBuilderFactoryImpl.java:88*)

at org.apache.nutch.util.NutchConf.loadResource(*NutchConf.java:285*)

at org.apache.nutch.util.NutchConf.getProps(*NutchConf.java:269*)

at org.apache.nutch.util.NutchConf.get(*NutchConf.java:95*)

at org.apache.nutch.fs.NutchFileSystem.get(*NutchFileSystem.java:80*)

at org.apache.nutch.fs.NutchFileSystem.parseArgs(*NutchFileSystem.java:66*)

at search.crawl.MathCrawler.main(*MathCrawler.java:85*)

Exception in thread "main"