title: Handler processing failed; nested exception is java.lang.StackOverflowError
body: <p>I created a service Restful With Spring framework , and I'm trying to include a method a call to Selenium Java, with the driver Google Chrome , but to create the object  <code>WebDriver driver = new ChromeDriver ();</code>  </p>
  
  <p><strong>This me generates a exception :</strong></p>
  
  <pre><code>org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError
      org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1302)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:977)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  causa raíz
  
  java.lang.StackOverflowError
      java.lang.Exception.&lt;init&gt;(Exception.java:102)
      java.lang.ReflectiveOperationException.&lt;init&gt;(ReflectiveOperationException.java:89)
      java.lang.reflect.InvocationTargetException.&lt;init&gt;(InvocationTargetException.java:72)
      sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:497)
      org.json.JSONObject.populateMap(JSONObject.java:1015)
      org.json.JSONObject.&lt;init&gt;(JSONObject.java:279)
      org.json.JSONObject.wrap(JSONObject.java:1527)
      org.json.JSONObject.populateMap(JSONObject.java:1017)
      org.json.JSONObject.&lt;init&gt;(JSONObject.java:279)
      org.json.JSONObject.wrap(JSONObject.java:1527)
      org.json.JSONObject.populateMap(JSONObject.java:1017)
      org.json.JSONObject.&lt;init&gt;(JSONObject.java:279)
      org.json.JSONObject.wrap(JSONObject.java:1527)
  </code></pre>
  
  <p>Independent in a main class runs smoothly , but I require it from a service Restful</p>