Rob Spoor wrote:The problem is caused by the XML reading part, in particular the entity handling (com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity). That method tries to create a URL but can't. I think you will have a bit more success in our XML forum. Moving there.
I made a crawer using StAX. The thing is that I didnĀ“t install JSR-173, You can download in softonic.com. So before I got this message:
Exception in
thread "main" java.lang.NoSuchMethodError: com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.getNamespaceContext()Lcom/sun/org/apache/xerces/internal/xni/NamespaceContext;
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:100)
at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:264)
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:131)
By alvaro.