Results 1 to 2 of 2

Thread:

  1. #1

    Default
    In my web application, my view file 'views.xml' imports two other files: views-templates.xml and views-menus.xml. However, the XML file views.xml does not validate for, it cannot see beans that are defined in the other two files. I keep getting the following error:

    "An element with the identifier "detailMenu1" must appear in the document."


    Note that detailMenu1 is defined in views-menus.xml.
    I am using spring 1.1.2.
    J2EEGuru,
    The Spring Advocate


  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    XmlViewResolver uses internally a XMLBeanFactory to load views files. Could you turn Debug on and show the log result?
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •