users@glassfish.java.net

ManagedBean not reachable - GLv3Preview

From: <glassfish_at_javadesktop.org>
Date: Mon, 03 Aug 2009 16:19:47 PDT

Hi,
I have tried a simple example with just an xhtml page and a managed bean. I first try to display info returned by the managed bean.

But for some reason, my managed bean is unreachable, no "Default message" is displayed in my web page and when I try with a form, I get this error :
javax.el.PropertyNotFoundException: /index.xhtml @20,68 value="#{astrologyController.helloMessage}": Target Unreachable, identifier 'astrologyController' resolved to null


I only used annotations. It is deployed as a war file, the war contains the managed bean class under WEB-INF/classes, and there is only a web.xml and sun-web.xml as deployment descriptors.

I can't understand what is missing.

Files are attached.

Thanks for your help,
Morgan
[Message sent by forum member 'morganduchene' (morganduchene)]

http://forums.java.net/jive/thread.jspa?messageID=358684