title: Invalid character (CR or LF) found in method name in spring boot application
body: <p>I am using spring boot MVC application running  on <em>localhost:8080</em>.</p>
  
  <p>I want to access this from my Angularjs app placed in xampp htdocs folder running on <em>localhost/public</em>.</p>
  
  <p>Cors in Angular service are enabled and working while am using this in Spring controller:</p>
  
  <pre><code>import org.springframework.web.bind.annotation.CrossOrigin;
  
  @RestController
  @CrossOrigin(origins = "http://localhost/public", maxAge = 3600)
  @RequestMapping("/application")
  public class applicationController{
  
      @Autowired
      private applicationRepository applicationrepository;
  
      @RequestMapping(method=RequestMethod.GET)
      public List&lt;StudentApplication&gt; list() {
          return  applicationrepository.findAll();
      }
   }
  </code></pre>
  
  <p>While accessing this endpoint i am getting this error:</p>
  
  <pre><code>Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
  
  java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
  </code></pre>
  
  <p>Any Help regarding this issue?</p>