Spring boot and Tomcat deployment both working