This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Weld bug? @Produces method with Normal scope cause exceptionwangliyu Jul 29, 2010 2:57 PM (in response to wangliyu)If I don't declare @RequestScoped on the getter method: @Produces @Named public User getUser() { return user;} This is working fine. 
- 
        2. Re: Weld bug? @Produces method with Normal scope cause exceptionwangliyu Jul 29, 2010 3:01 PM (in response to wangliyu)found the problem, the User doesn't have public User() {} constructor, so it won't be able to create the proxy, @Dependent scope doesn't create the proxy so that's fine. but with normal scope it requires. 
