3
I’m looking to implement CDI. But when I use the @Inject annotation I’m notified with this warning
"No bean corresponds to the injection point"
Code line I’m notified of
@Inject private LancamentoDadosDao lancamentoDadosDao;
DAO class
@Component
@RequestScoped
public class LancamentoDadosDao {
private Session session;
private Result result;
public LancamentoDadosDao(Session session, Result result) {
this.session = session;
this.result = result;
}
}
What may be happening for this Warning to appear ?