java.lang.IllegalStateException

Cannot set web app root system property when WAR file is not expanded

Solutions on the web23780

  • via Oracle Community by 537622, 1 year ago
    Cannot set web app root system property when WAR file is not expanded. java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
  • via Oracle Community by kokito, 1 year ago
    Cannot set web app root system property when WAR file is not expanded
  • Cannot set web app root system property when WAR file is not expanded
  • Stack trace

    • 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:139) at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:118)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.