File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Injection in CDI and inheritance.

 
Bono Vox
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I don't understand one thing.

I have two classes A and B.



Why when I inject in another class :



I become cdi ambiguous dependencies exception.

When I change



to



than no exception in deployment is thrown.


What should I do to inject A type.

Please help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic