Fix a part of the issue to run the war within tomcat.

Still have an issue. An exception is thrown.
See the ticket opened on spring-boot (https://github.com/spring-projects/spring-boot/issues/278)