This content has been marked as final.
Show 1 reply
-
1. Re: WARN [localhost-startStop-2] (Validator.java:443) - WELD-001440: Scope type @javax.enterprise.context.ApplicationScoped() used on injection point
tremes Oct 21, 2015 2:43 AM (in response to coaic)Hi,
I think the message is very clear. It's telling you that you are using @ApplicationScoped annotation on one of your injection points (probably field). ApplicationScoped annotation is bean defining annotation (Contexts and Dependency Injection for the Java EE platform) and doesn't make much sense to place it on your injection point. You can check Weld documentation at Weld 2.3.0.Final - CDI Reference Implementation or CDI spec itself on Contexts and Dependency Injection for the Java EE platform