Cors Filter not working on external Tomcat Container
CodeYogiCo opened this issue · comments
Vishal Vaibhav commented
Hi I enabled one of my APIS with @crossorigin annotation.
When I run using spring boot tomcat embedded container it works fine but while deploying the war to an external tomcat container ,it fails.
Any reason why? Morever I am using spring security in my project too
Sébastien Deleuze commented
Did you configure the Cors filter on you external container as the first one ?
Dave Syer commented
No response. Assume pilot error (it will work if the filter is declared).