Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to resolve the issue related to: Cannot Create a Secure XMLInputFactory  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run Junit test case for my application where one of my method call the server to get the location from geo-coordinates but I am getting an error as Cannnot create a secure XMLInputFactory, however when I tried to run my application with the tomcat I am not getting this error and my method call the server and gives response properly.Can anyone please help to find the reason behind this error and proper solution to this problem. Thanks in advance.

Error as follows:
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
ScroogeXHTML 7.2 - RTF to HTML5 / XHTML converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!