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&...]