fix configuration
fix configuration to run in tomcat and in spring boot without changing configuration