Announcement Announcement Module
Collapse
No announcement yet.
Duplicate <http> element detected Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Duplicate <http> element detected

    Hello,
    I am trying to import the beans from an another XML in my app-config.xml with the xml entry

    <!-- Importing beans from app-security.xml file -->
    <import resource="app-security.xml"/>

    when I start up the server I see, I am using spring 3.0.2

    2010-06-21 12:49:45,811 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
    org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Duplicate <http> element detected
    Offending resource: ServletContext resource [/WEB-INF/config/app-security.xml]
    at org.springframework.beans.factory.parsing.FailFast ProblemReporter.error(FailFastProblemReporter.java :68)
    at org.springframework.beans.factory.parsing.ReaderCo ntext.error(ReaderContext.java:85)

  • #2
    So you must have two <http> elements (which isn't allowed in 3.0)?

    Comment


    • #3
      No ...

      i dont have 2 tags. I got only one <http> tag in app-security.xml.

      Comment

      Working...
      X