使用 SoapUI 发送请求时出现“无法创建安全的 XMLInputFactory”错误,我尝试了一些 stackoverflow 提到的解决方案,例如添加 woodstox 和 stax2-api,但问题仍然存在
来自 build.gradle:
compile 'org.codehaus.woodstox:woodstox-core-asl:4.4.1'
compile 'org.codehaus.woodstox:stax2-api:4.0.0'
compile 'org.apache.cxf:cxf-rt-frontend-jaxws:3.1.12'
compile 'org.apache.cxf:cxf-rt-ws-security:3.1.12'
compile 'org.apache.cxf:cxf-rt-transports-http:3.1.12'
它以前与woodstox-core一起工作,但开始抛出错误
compile 'com.fasterxml.woodstox:woodstox-core:5.0.3'
从版本 3 CXF 的先前解决方案中,甚至不需要woodstox,我也尝试过不使用woodstox。
是否可以像axis2一样更新任何其他依赖项?我的下一步应该是什么?谢谢
注意:使用tomcat 8.5.19