A colleague of mine just had some issues with multiple abstractions (interface extends interface). The interface was injected via the @Inject annotation.
In our project we use Glassfish, which uses Weld as CDI implementation.
Apparently, there's a bug in Weld that has some problems using multiple abstractions with @Inject. We changed @Inject to @EJB and the problem is solved.
Geen opmerkingen:
Een reactie posten