From: Dannes W. <da...@ex...> - 2010-02-12 23:01:06
|
hi, At this moment I am revamping the JNLP/webstart code in exist. My plan is to use stax to generate XML output. While running the code however, I get the following message: javax.servlet.ServletException: An error occurred: Provider com.ctc.wstx.stax.WstxOutputFactory not found at org.exist.webstart.JnlpServlet.doGet(JnlpServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530) Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxOutputFactory not found at javax.xml.stream.XMLOutputFactory.newInstance(Unknown Source) at org.exist.webstart.JnlpWriter.writeJnlpXML(JnlpWriter.java:109) at org.exist.webstart.JnlpServlet.doGet(JnlpServlet.java:90) ... 35 more Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.ctc.wstx.stax.WstxOutputFactory not found at javax.xml.stream.XMLOutputFactory.newInstance(Unknown Source) at org.exist.webstart.JnlpWriter.writeJnlpXML(JnlpWriter.java:109) As you see it attempts to use codehaus' com.ctc.wstx.stax.WstxOutputFactory but as far as I know there is no dependency with the codehaus stuff. I expect that 'something' forces the * javax.xml.stream.XMLOutputFactory.newInstance()* to use these classes. Maybe it it jetty7.... Any one an idea where to search? greets Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |