报告不正确的注入点:使用
@Inject
注解的违反 CDI 规范的字段、方法和参数。
字段要求:
不能为 static 或 final
不能用
@Produces
注解
对包含注入的方法的要求:
不能为 static 或 abstract
不能有带有
@Disposes
和
@Observes
注解的参数