+-
今天测试开发的web工程(之前在tomcat下运行良好)。结果使用resin发布时。出现如下
错误信息“java.lang.IllegalArgumentException: property "javax.xml.stream.supportDTD"
resin web service 报异常信息 property "javax.xml.stream.isCoalescing" not supported
同样是部署到tomcat上没有问题,部署到resin上报下边异常。
在resin.conf配置中
加上<system-property javax.xml.stream.XMLInputFactory="com.sun.xml.internal.stream.XMLInputFactoryImpl" />
配置项。
重启Resin,问题解决

错误信息“java.lang.IllegalArgumentException: property "javax.xml.stream.supportDTD"
resin web service 报异常信息 property "javax.xml.stream.isCoalescing" not supported
同样是部署到tomcat上没有问题,部署到resin上报下边异常。
在resin.conf配置中
加上<system-property javax.xml.stream.XMLInputFactory="com.sun.xml.internal.stream.XMLInputFactoryImpl" />
配置项。
重启Resin,问题解决