Tuesday, January 10, 2012

Eclipse errors and solutions

1. javax.el.PropertyNotFoundException: /index.xhtml @12,39 value="#{user.name}": Target Unreachable, identifier 'user' resolved to null

reason: it could not load jsf bean.

Solution: a. check project-->properties --> build --> source code, if it is checked.
b. removed the tomcat server.
c. mvn eclipse:eclipse
d. add resources

Friday, January 6, 2012

How to deal with Warning: This page calls for XML namespace primefaces.org/ui declared with prefix p but no taglibrary exists for that namespace.

Yesterday I did a example using PRISMFACE, JSF2, and I got below error:

Warning: This page calls for XML namespace primefaces.org/ui declared with prefix p but no taglibrary exists for that namespace.

After I copied primeface jar into lib directory, everything is working. So wired.

I think this might be a Maven issue.