[jboss-user] [EJB3] - Re: @Service Annotation Prblm with EJB
Carlo de Wolf
do-not-reply at jboss.com
Wed Mar 30 17:31:13 EDT 2011
Carlo de Wolf [http://community.jboss.org/people/wolfc] created the discussion
"Re: @Service Annotation Prblm with EJB"
To view the discussion, visit: http://community.jboss.org/message/596619#596619
--------------------------------------------------------------
java.lang.IllegalArgumentException: failed to set value Proxy to jboss.j2ee:jar=TestMDB.jar,name=TestEjb,service=EJB3 implementing [interface com.testmdb.TestEjbImpl] on field com.testmdb.TestEjb com.testmdb.TestService.testejb
public class TestService {
@EJB(mappedName="ejb/TestEjb")
TestEjb testejb;
}
It can't inject a TestEjbImpl into TestService.testEjb. TestEjb is not a business view.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/596619#596619]
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/20110330/260adfc1/attachment.html
More information about the jboss-user
mailing list