I have upgraded from Jackson 2.4.2 to 2.4.4 and started getting WstxParsingException
.
This seems like a woodstox
exception. I am not sure if WoodStox
works on appengine at all. Anyway I have been using Aalto. (by having it in pom.xml)
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>aalto-xml</artifactId>
<version>0.9.9</version>
</dependency>
But it seems since Jackson 2.4.2+ it ignores Aalto
and uses woodstox
by default.
Here is the exception i am getting:
java.io.IOException: com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) /base/data/home/apps/..../template-schema.dtd (No such file or directory)
at [row,col {unknown-source}]: [1,55]
at com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwXmlAsIOException(StaxUtil.java:24)
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:526)
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:28)
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:709)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2100)
I am surprised no one else reported this issue. Maybe I am missing something.
I have upgraded from Jackson 2.4.2 to 2.4.4 and started getting WstxParsingException
.
This seems like a woodstox
exception. I am not sure if WoodStox
works on appengine at all. Anyway I have been using Aalto. (by having it in pom.xml)
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>aalto-xml</artifactId>
<version>0.9.9</version>
</dependency>
But it seems since Jackson 2.4.2+ it ignores Aalto
and uses woodstox
by default.
Here is the exception i am getting:
java.io.IOException: com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) /base/data/home/apps/..../template-schema.dtd (No such file or directory)
at [row,col {unknown-source}]: [1,55]
at com.fasterxml.jackson.dataformat.xml.util.StaxUtil.throwXmlAsIOException(StaxUtil.java:24)
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:526)
at com.fasterxml.jackson.dataformat.xml.XmlFactory._createParser(XmlFactory.java:28)
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:709)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2100)
I am surprised no one else reported this issue. Maybe I am missing something.
UPDATE:
It seems the issue is with woodstox-core-asl
ver 4.4, as I managed to get this config working
``` org.codehaus.woodstox woodstox-core-asl ${woodstox.version}
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
<version>3.1.4</version>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>aalto-xml</artifactId>
<version>0.9.9</version>
</dependency>
```