Java Mailing List Archive

Home » users.myfaces »

Question about annotation and sessionscoped



Replies: Find Java Web Hosting

Author LoginPost Reply

I am using
Tomcat 7.0.25
Myfaces 2.1.6
Openjpa 2.2.0
Jdk 1.7.0_02
On Fedora 12 Linux

I have a managed bean with the following:-


When I compiled there is a warning message:
Warning: Supported source version ‘RELEASE_6’ from annotation processor
‘org.apache.openjpa.persistence.meta.AnnotationProcessor6’ less than –source

Warning: No processor claimed any of these annotations:
javax.persistence.ElementCollection, javax.persistence.Column,
javax.faces.bean.SessionScoped, javax.persistence.Id,
javax.faces.bean.ManagedBean, javax.faces.bean.ManagedProperty,
javax.annotation.PreDestroy, javax.persistence.Transient,
javax.faces.bean.RequestScoped, javax.persistence.NamedQueries,
javax.persistence.Temporal, javax.persistence.IdClass,

Even though I put as “@(protected)
many times when it is called from the page each time. I assumed that there
will be one time creating thoughout the session. Is there something that I
should check?

Thanking in advance,

Sent from the MyFaces - Users mailing list archive at

©2008 - Jax Systems, LLC, U.S.A.