jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From qcfireball <qcfireb...@yahoo.com>
Subject Re: Third Hop error.
Date Fri, 30 Nov 2007 12:04:32 GMT

Does the node:  "importxml" exist?  I will try to import XML into my
repository into a node that does not exist, and see what happens.

Otherwise, a little extra code from your example might help us help you.



Jørgen Sivesind wrote:
> 
> Hello!
> 
> I'm new to JackRabbit.  I have downloaded the source to v.1.3.3, and built
> it with Maven, then set up my own Maven project, imported all the
> JackRabbit jars and now I'm trying run each of the example hops of the
> getting started guide in this new project.  At the third hop, I'm getting
> this error:
> 
> Importing xml... Exception in thread "main" java.net.MalformedURLException
> 	at java.net.URL.<init>(URL.java:601)
> 	at java.net.URL.<init>(URL.java:464)
> 	at java.net.URL.<init>(URL.java:413)
> 	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
> 	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> 	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> 	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
> 	at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
> 	at
> org.apache.jackrabbit.core.SessionImpl.importXML(SessionImpl.java:1116)
> 	at test.jackrabbit.ThirdHop.main(ThirdHop.java:43)
> 
> The failing line is the import statement:  session.importXML("/importxml",
> xml, ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
> 
> I can not see anything wrong with the XML or the code.  The XML is a
> straight copy/paste from the firststeps.html web page.
> 
> Is there anybody else who have experienced problems like this with
> imports?
> 

-- 
View this message in context: http://www.nabble.com/Third-Hop-error.-tf4897434.html#a14043501
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message