CORS error in Apache Tomcat – Solved