jpa - stateless annotation cannot be found -



jpa - stateless annotation cannot be found -

i'm having little problem using jpa (hibernate)

import javax.persistence.column; import javax.persistence.entity; import javax.persistence.generatedvalue; import javax.persistence.generationtype; import javax.persistence.id; import javax.validation.constraints.notnull; /** * bean decribing user. * */ @entity public class user implements serializable { ...

i'm able utilize of annotation (like @entity), shown in illustration above.

but @stateless cannot found eclipse. why ?

i'm using latest version hibernate (4.1.9) created user library containing required library hibernate directory. upgraded dynamic web project jpa project facet.

i solved problem using tomee web server, contains ejb implementation

jpa java-ee-6

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -