@Singleton
public class Test {
public String xxx;
public String xyz;
}
Gives something like this on the class for every public field:
Description Resource Path Location Type
Managed bean with a public field must be @Dependent scoped [JSR-299 ยง3.1] MockOptionTestPlugin.java /forge-shell/src/test/java/org/jboss/seam/forge/shell/test/command line 36 CDI Problem
That error should be on the field, not the class.
- is related to
-
JBIDE-8201 Quick fix for "Managed bean with a public field must be @Dependent scoped" error marker
- Closed