Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot Resolve Injection during Field injection

 
Joe Harry
Ranch Hand
Posts: 10124
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have a Session bean which has a composition to another Session bean and I'm using the
@EJB (mappedName ="")
to the field. But when I call my session bean, I run into a java.lang.UnsupportedOperationException. Completely clueless as to why I face this. I checked my ear and the files are there (i mean the class files). Any idea on how to et around this?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the entire exception stacktrace. Which application server do you use?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic