I have a multi-module maven project.
When - inside an EJB - I refer to an EJB that belongs to another module - i.e.
private CustomerDataAccessor customerDataAccessor;
The @EJB annotation is red undelined with the message: 'Ambiguous EJB reference "beanName" or more precise "beanInterface" should be specified'.
Obviously, there is no any ambiguity.
This doesn't happen if the EJB is in the same module.
It happened in Idea 9 and even now in Idea 10.