I want to implement CDI. However when I use the @Inject annotation I am notified with this warning
"No bean matches the injection point"
Line of code I'm notified
@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 could be happening for this warning to appear?