• Register
0 votes
162 views

Problem :

I wrote and deployed a CXF web service into a Tomcat server but getting bellow error
java.lang.runtimeexception cannot create a secure xmlinputfactory
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I also had the same issue when I tried to upgraded CXF to 2.7.x. I resolved the issue by adding bellow dependencies in my POM.xml

<dependency>
    <groupId>org.codehaus.woodstox</groupId>
    <artifactId>stax2-api</artifactId>
    <version>4.0.0</version>
</dependency>
<dependency>
    <groupId>org.codehaus.woodstox</groupId>
    <artifactId>woodstox-core-asl</artifactId>
    <version>4.4.1</version>
</dependency>

Further Readings:

9 7 4
38,600 points

Related questions

0 votes
1 answer 220 views
220 views
Problem: I am trying to consume a PHP webservice which has the SSL certificate. I have the .net 3.5 Class library it references the webservice with a 'Add Service references' in Visualstudio 2010 If I try calling the main method of my webservice then I ... SslPolicyErrors sslPolicyErrors) { return true; } But somehow it is not working. Also I have already a certificate installed on my own pc.
asked Aug 12, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 432 views
432 views
Cannot create controller in thread that did not call Looper.prepare () What does the following exception mean? How can I fix it? Here is the code: Toast toast = Toast.makeText (mContext, "Something", Toast.LENGTH_SHORT); This is the exception: Java.lang.RuntimeException: Cannot ... :121)      on Android.widget.Toast. <init> (Toast.Java:68)      on Android.widget.Toast.makeText (Toast.Java:231)
asked Aug 17, 2020 game 4.6k points
0 votes
1 answer 3 views
3 views
Problem: I tried to find out the solution on the web when I face this problem but I did not get any fruitful information that I can continue if you read the above question and understand what is the solution of this please cooperate with me- Thanks
asked Mar 23 rubelkhan 20.4k points
0 votes
1 answer 2 views
2 views
Problem: I can't seem to find a solution; could you please help me? This site cannot be reached the connection was reset. err_connection_reset.
asked Mar 29 tuhin1 48.9k points
1 vote
2 answers 5 views
5 views
Problem: What is the difference between rest and soap webservices in java ?
asked Apr 4 Ashty 6k points
0 votes
1 answer 1 view
1 view
Problem: anyone who know this problem please help? exception in thread "main" java.lang.runtimeexception: stub!
asked 5 days ago Rohit kr 16.2k points
0 votes
1 answer 4 views
4 views
Problem: I have tried all of the solutions suggested and still not be able to fix &lsquo;java.lang.runtimeexception: manifest merger failed with multiple errors&rsquo;. Please help me with some advice.
asked Mar 30 zayed1 35.6k points
0 votes
1 answer 15 views
15 views
Problem: Help! Share your ideas with me solving the error:java.lang.runtimeexception: invalid id 4096 - maximum id range exceeded.
asked Mar 26 ashik 12.9k points
0 votes
1 answer 42 views
42 views
Problem: java.lang.runtimeexception: parcelable encountered ioexception writing serializable object
asked Feb 23 Muneeb Saadii 130k points