This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Cannot Resolve Injection during Field injection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cannot Resolve Injection during Field injection" Watch "Cannot Resolve Injection during Field injection" New topic
Author

Cannot Resolve Injection during Field injection

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Please post the entire exception stacktrace. Which application server do you use?


[My Blog] [JavaRanch Journal]
 
 
subject: Cannot Resolve Injection during Field injection
 
Similar Threads
When did the Stateful Sessionbean created?
Using Dependency in EJB 3.0 with Netbeans IDE Tool
Callback methods in Session beans
Question regarding Business Delegate, Stateless Session Bean and Entity Bean in SCEA Part 2
Session beans as backing beans ?