Mehdi,
Do you have a war that you can send me (with source)?  I can test it out for you and see what the issue is.

JJ

On 05/19/2012 06:05 AM, Mehdi Heidarzadeh wrote:
Hi @all
I have a bean annotated with @Named and @RequestScoped.
It is working perfectly in Glassfish 3.1.2 but when I deploy it in Weblogic 12.1.1 I get the following error!

Caused By: org.jboss.weld.exceptions.DefinitionException: WELD-000075 Normal scoped managed bean implementation class has a public field: 
public@Named @RequestScoped class com.x.y.web.monitoring.MonitoringController

I don't have any public field in my bean!!! all of them are private and I use getters and setters.
Is this a bug in weblogic 12.1.1 ?
How can I update weld version in weblogic?

Thanks in advance.

--
Mehdi Heidarzadeh Ardalani
Independent JEE Consultant, Architect and Developer.
http://www.TheBigJavaBlog.com



_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev