[jboss-user] [EJB 3.0] - Re: @EJB annotation injection broken in 4.0.5.GA

doktora do-not-reply at jboss.com
Wed Apr 11 14:46:21 EDT 2007


"wolfc" wrote : @javax.annotation.EJB should be @javax.ejb.EJB
  | 
  | http://jira.jboss.com/jira/browse/EJBTHREE-608


This was the culprit!!!

I've been looking for JBoss 404->405 migration guides. I should have looked for EJB migration guides:

http://wiki.jboss.org/wiki/Wiki.jsp?page=FromRC8RC9
anonymous wrote : 
  | References to javax.annotation.EJB must be changed to javax.ejb.EJB for proper injection. javax.ejb.EJB lives in RC9's jboss-ejb3x.jar. When running the patch installer, this file gets updated in $JBOSS_HOME/server/instancename?/deploy/ejb3.deployer, but not $JBOSS_HOME/client at time of this writing.

Thanks wolfc!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036484#4036484

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036484



More information about the jboss-user mailing list