在使用SoapUI发送请求时,出现“无法创建安全的XMLInputFactory”错误,我尝试了一些提到的解决方案(如添加woodstox和stax2-api),但问题仍然存在CXF 3.1.12无法创建安全的XMLInputFactory
从的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核心工作过,但开始抛出从错误
compile 'com.fasterxml.woodstox:woodstox-core:5.0.3'
预来自第3版CXF的vious解决方案甚至不需要woodstox,我也尝试过没有woodstox。
它可以像axis2更新任何其他依赖项? 我的下一步应该找出什么?感谢
注:使用Tomcat 8.5.19