I am getting WELD-001408: Unsatisfied dependencies for type AsyncBean with qualifiers @Default at injection point [BackedAnnotatedField] @Inject when I deploy ear file. EAR contanin ejb,jar and web.war files. This occurred after I added an asynchronous bean to test that feature.
Here is the sample code I used to check asynchronous feature:
// This makes all business methods in the class async
//To make only this method async
This EJB is callled from servlet after injecting it:
private AsyncBean asyncBean;
What may be wrong?
This problem solved when I added @Stateless annotation on AsyncBean.