@Inject-ed value null in @FacesComponent
问题 I have the impression that CDI is not working with classes that have a @javax.faces.component.FacesComponent . Is this true? Here's my example, that doesn't work. The MyInjectableClass is used at other points in the code where injection is not a problem, so it must be about the @FacesComponent annotation I think. The class I want to inject: @Named @Stateful public class MyInjectableClass implements Serializable { private static final long serialVersionUID = 4556482219775071397L; } The