Re: Ressource not found
Andrea Carpani <[email protected]> 08 Jan 2003 09:43:33 +0100
| Newsgroups | gmane.comp.java.enhydra.kxml |
|---|---|
| Organization | Vitaminic |
| Message-ID | <[email protected]> |
On Wed, 2003-01-08 at 00:01, Stefan Haustein wrote: I've tried to place the org.xmlpull.v1.XmlPullParserFactory file in the META-INF dir of the servlet, but no luck. Moving the file around the CLASSPATH doesn't get better. I always get the same error. It works though by calling directly the constructor. Thanks. Ciao. > 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 > > -- - .a.c. - Andrea Carpani - <[email protected]> http://www.vitaminic.[it|com|co.uk|de|es|fr|nl|se|dk|ie] http://www.peoplesound.com http://www.iuma.com http://www.zipmind.it http://www.francemp3.com (www.mp3france.com) _______________________________________ DISCLAIMER, PLEASE NOTE: This communication is intended only for use by the addressee. It may contain confidential or privileged information. Transmission, distribution and/or copy cannot be permitted. Please notify Vitaminic Spa immediately by reply e-mail if you are not the intended recipient. Vitaminic Spa does not accept liability for corruption, interception or amendment, if any, or the consequences thereof. _______________________________________