This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Cannot use the annotations in JSF2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Cannot use the annotations in JSF2.0" Watch "Cannot use the annotations in JSF2.0" New topic
Author

Cannot use the annotations in JSF2.0

Tina Ma
Ranch Hand

Joined: Nov 29, 2007
Posts: 198
I have a backing bean:


I have a Maven project with dependencies:


There is no compilation error, but when I run the project (deployed in Tomcat6), there is an error which says
Target Unreachable, Identifier 'myBean' resolved to null.


Tina
SCJP 1.4, SCWCD 1.4
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Cannot use the annotations in JSF2.0