java.lang.IllegalArgumentException: Unable to obtain required element '/web-app/context-param[param-value='classpath:applicationContext.xml']/param-value' from element '[web-app: null]'

Spring JIRA | Ben Alex | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unable to obtain required element '/web-app/context-param[param-value='classpath:applicationContext.xml']/param-value' from element '[web-app: null]'

      at org.springframework.roo.support.util.Assert.notNull()
    2. org.springframework.roo
      XmlUtils.findRequiredElement
      1. org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
      2. org.springframework.roo.support.util.XmlUtils.findRequiredElement(XmlUtils.java:230)
      2 frames
    3. Spring Roo - Annotations (ASLv2 Licensed)
      SecurityOperations.installSecurity
      1. org.springframework.roo.addon.security.SecurityOperations.installSecurity(SecurityOperations.java:101)
      1 frame