• Register
0 votes

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


Further Readings:

9 7 4
38,600 points

Related questions

0 votes
1 answer 40 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 130 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
1 vote
1 answer 114 views
Problem : I am trying to develop the WCF web service in VS2010. My web service works good in my VS2010, I have also added the web service reference to the project in this project, everything works great, call of methods, good. But when I try to deploy my web service I ... Web.Debug.config. I am very new to the WCF web services, So what do I need to deploy to make my web service work correctly?
asked Dec 28, 2019 alecxe 7.5k points
0 votes
1 answer 10 views
1 view I am searching for interview questions. If anyone can help it will be help. thanks
asked Dec 8, 2020 tyson 720 points
0 votes
1 answer 25 views
Problem : I want to develop the alexa skill, which should communicate with my own webservice (tomcat). To set up my project I initially followed the amazon guides. However I am still unable to connect to my web service and I am only facing the below message : "The remote ... "text" }, "shouldEndSession": true } } How can I resolve my issue? Please Note : I have hosted my service on Amazon EC2.
asked Dec 23, 2019 alecxe 7.5k points
0 votes
1 answer 21 views
I got these errors.... Any one have some hint..?
asked Dec 7, 2020 TeamScript 9.3k points
0 votes
1 answer 70 views
Problem : I am getting bellow error while trying to run my android code. java.lang.runtimeexception: unable to start activity componentinfo
asked Nov 2, 2019 peterlaw 6.9k points
0 votes
2 answers 198 views
Problem : I was trying to run a sample code While launching the application in the android 1.5 emulator , I got bellow errors.... Any one have any hint ? java.lang.runtimeexception: unable to instantiate activity componentinfo
asked Oct 23, 2019 peterlaw 6.9k points