wood burning stoves
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
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: 17410

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Error: Target Unreachable, identifier 'StoreNameBean' resolved to null
It's not a secret anymore!