[jboss-user] [EJB3] - Re: How to inject EJB3 session bean into another session bean with JBoss 6
Periklis Douvitsas
do-not-reply at jboss.com
Thu Jan 5 06:36:33 EST 2012
Periklis Douvitsas [http://community.jboss.org/people/periklis_douvitsas] created the discussion
"Re: How to inject EJB3 session bean into another session bean with JBoss 6"
To view the discussion, visit: http://community.jboss.org/message/644802#644802
--------------------------------------------------------------
I know it has been a while since you started this topic but just in case you are still interesting try the suggestions below.
Did you try to build your EJB project using the libraries of Jboss 6 instead of 4?If no, try to do this.
Then, remove this import (if you have)
*import javax.annotation.EJB (to be removed)*
and replace it with this one
*import javax.ejb.EJB;*
(check also the link http://community.jboss.org/thread/167455 http://community.jboss.org/thread/167455)
Also, build your project using jdk 1.6.
After doing this, then it should work.
Hope this helps.
Good luck
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644802#644802]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120105/e2367fc6/attachment.html
More information about the jboss-user
mailing list