I pack the spring boot application into the WAR file and deploy it to the external tomcat server. As I understand it, the configure method needs to be overwritten and withou