logo       

Re: Ressource not found: msg#00001

java.enhydra.kxml

Subject: Re: Ressource not found

Hi Andrea,

the kxml jar file contains a ressource file

/META-INF/services/org.xmlpull.v1.XmlPullParserFactory

This file contains a list of the XmlPull parsers available.

Please make sure that this file is also contained int your servlet war/jar file at the appropriate location.

You can also use the KXmlParser constructor directly, without using the factory. In that case, the resource file is not required.

Best,
Stefan


Andrea Carpani wrote:
Hi everybody, here's my problem.

I'm trying to use the latest kxml2 in a servlet deployed with tomcat
4.0.4 and I always get the following:

Error ... Exception : org.xmlpull.v1.XmlPullParserException: caused by:
org.xmlpull.v1.XmlPullParserException: Ressource not found:
/META-INF/services/org.xmlpull.v1.XmlPullParserFactory

while using it in the JDeveloper IDE gives no error.

I've tried to put the jar file kxml2.zip renamed to kxml2.jar in the
/WEB-INF/lib of the servlet without luck: am I missing something?

Thanks.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise