The springboot integration CXF calls WebService and reports an error:
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ ERROR: java.lang.RuntimeException: Cannot create a secure XMLInputFactory。
As shown below:
The final reason is that wstx-asl-3.2.6.jar package is introduced into the project. This package is the same as many classes of woodstox-core-asl-4.4.1.jar, resulting in jar package conflict.
Solution steps:
1. View Maven dependencies:
mvn dependency:tree
Package structure comparison:
2. Maven dependency excludes wstx-asl-3.2.6.jar package dependency
Find the location where the dependency is introduced and exclude wstx ASL:
Reference document: WebService problem, urgent- CSDN forum WebService problem, urgent!!! https://bbs.csdn.net/topics/390491260
Read More:
- Springboot integration redis reports non null key required (solved)
- The springboot integration mybatis reported an error. The parameter cannot be found
- Python calls DLL and reports an error windowserror: [error 126]
- Python calls C to generate so library and reports an error: undefined symbol
- 3. Idea creates a springboot project, and spring initializer reports an error Error:connect timed out
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- After verifying parameters with validation, springboot reports an error: no constructor found in package name + class name
- [How to Fix] org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
- SSM project controller layer calls static method to report an error
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- Error code 1 error resolution (NPX create react app my app execution reports an error)
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- The remote server returned an error: notfound when Silverlight calls WCF service
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- Solution to error reporting on the client caused by adding fields on the CXF server
- [Solved] SpringBoot Integrating Oracle reports errors: ORA-12504, TNS:listener was not given the SID in CONNECT_DATA
- Android Studio cannot create a new activity and reports ide internal error occurred