Yes, I understand. I was just responding to your workaround: Changing the CdiUtil class to be non-final with @Dependent fixes the error, but now my class is a bean, even though it should not be used this way. from which I thought that you have a problem when the class is a bean.
|