correct spring configuration to allow the API to start with Tomcat