[jboss-user] [JBoss Tools] - faces-config.xml error notification

Vladimir Blagojevic do-not-reply at jboss.com
Sat May 15 14:58:32 EDT 2010


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+2010-05-15+at+2.52.12+PM.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/3006/450-263/Screen+shot+2010-05-15+at+2.52.12+PM.png 

--------------------------------------------------------------

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&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100515/d7763a03/attachment.html 


More information about the jboss-user mailing list