7 Replies Latest reply on Jul 5, 2010 8:26 AM by Max Rydahl Andersen

    faces-config.xml error notification

    Vladimir Blagojevic Master

      Hi,

       

      Ok, I switched to nightly builds, providing more feedback to you guys. I succusfully imported maven j2ee web archetype and then invoked "Confiure -> Add JSF capabilities". This time, web.xml was correctly parsed. However, faces-config.xml 2.0 file, which was perfecly valid, was flag as invalid. The error reported was:

       

      Description    Resource    Path    Location    Type
      Value cannot be empty    faces-config.xml    /acme/src/main/webapp/WEB-INF    line 2    Constraint Problem

       

      I then created a fresh faces-config.xml file using JBT. This time, empty  faces-config.xml file, was recognized as valid but as soon as I went off to do something else, it was flagged back as invalid with the same error from the above. So there is something flaky there worth investigating.

       

      Screen shot 2010-05-15 at 2.52.12 PM.png