geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chi runhua <chirun...@gmail.com>
Subject Re: Managed bean unknown when using ManagedBean annotation with Geronimo V3
Date Mon, 08 Aug 2011 03:10:11 GMT
The problem was also documented at

https://cwiki.apache.org/GMOxDOC30/development-issues.html#Developmentissues-Managedbeansnotfoundexceptionswhenusingannotation

Jeff

On Sat, Aug 6, 2011 at 10:15 PM, Ivan <xhhsld@gmail.com> wrote:

> Maybe it is the same issue with
> http://mail-archives.apache.org/mod_mbox/geronimo-dev/201108.mbox/%3CCALS1ypBZtVKmjk2RhiWUJDqiNPAWyB-FTkH_riMrVkcT7GLRaQ@mail.gmail.com%3E
>
> 2011/8/6 horowitzathome <georg.nozicka@nozicka.at>
>
>> I have made a simple Dynamic Web Project with Eclipse and Maven. I also
>> added
>> a managed bean which is defined like that:
>>
>> @ManagedBean(name = "testBean")
>> @SessionScoped
>> public class TestBean {
>>
>> When I try to access testBean from xhtml, I get an error that the bean is
>> unknown.   A workaround is to define the bean in faces-config.xml as a
>> managed bean but defining the bean with annotations should also work.
>>
>> I do not know, maybe the whole problem is related to my last post, see
>> 'javax.faces.* classes do not show up with Geronimo 3 runtime in Eclipse':
>>
>> http://apache-geronimo.328035.n3.nabble.com/javax-faces-classes-do-not-show-up-with-Geronimo-3-runtime-in-Eclipse-td3229637.html
>>
>> http://apache-geronimo.328035.n3.nabble.com/javax-faces-classes-do-not-show-up-with-Geronimo-3-runtime-in-Eclipse-td3229637.html
>>
>> Currently I am using geronimo-tomcat7-javaee6-3.0-20110805.060355-254.
>>
>> Best Regards,
>> Georg
>>
>> --
>> View this message in context:
>> http://apache-geronimo.328035.n3.nabble.com/Managed-bean-unknown-when-using-ManagedBean-annotation-with-Geronimo-V3-tp3229662p3229662.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Ivan
>

Mime
View raw message