This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSF and the fly likes Error: Target Unreachable, identifier 'StoreNameBean' resolved to null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Error: Target Unreachable, identifier Watch "Error: Target Unreachable, identifier New topic

Error: Target Unreachable, identifier 'StoreNameBean' resolved to null

Surendra Kumar
Ranch Hand

Joined: Jul 04, 2006
Posts: 236

I have a problem with my very simple first JSF app.
when I access page, I get the following error.

org.apache.jasper.el.JspPropertyNotFoundException: /inputname.jsp(15,3) '#{StoreNameBean.personName}' Target Unreachable, identifier 'StoreNameBean' resolved to null

what's the problem? I searched google, but couln't find any solution.

I have all necessary libraries in project, and I am using jsf 1.2.

jsf page:


Santhosh Krishnamoorthy

Joined: Nov 24, 2008
Posts: 2
Change the bean scope form the request to session in faces config file and try it out
rajkiran vadla

Joined: Nov 26, 2011
Posts: 11
The problem is resolved when i changes the scope to session.Can you explain me the reason.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17276

I don't know why changing the scope fixed it, but I do know that "StoreNameBean" is not a proper name for a backing bean. StoreNameBean is an instance, not a class, so its name should be a lower-case letter. JSF will usually accept a mis-capitalized name, but some of the development tools will not, and JSF annotations won't accept such names by default.

An IDE is no substitute for an Intelligent Developer.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Error: Target Unreachable, identifier 'StoreNameBean' resolved to null
It's not a secret anymore!