Vladimir Blagojevic [
http://community.jboss.org/people/vblagojevic%40jboss.com] created
the discussion
"faces-config.xml error notification"
To view the discussion, visit:
http://community.jboss.org/message/543244#543244
--------------------------------------------------------------
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.
http://community.jboss.org/servlet/JiveServlet/showImage/3006/Screen+shot...
http://community.jboss.org/servlet/JiveServlet/downloadImage/3006/450-263...
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/543244#543244]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]