title: SEVERE: Exception org.springframework.web.util.Log4jConfigListener
body: <p>Getting the below severe exception when attempting to run tomcat in Spring Tool Suite: </p>
  
  <pre><code>SEVERE: Exception sending context initialized event to listener instance of class    org.springframework.web.util.Log4jConfigListener
  java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
  at    org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:143)
  at    org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:117)
  at    org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
  </code></pre>