JBoss Community

Re: @Service Annotation Prblm with EJB

created by Carlo de Wolf in EJB3 - View the full discussion
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

Start a new discussion in EJB3 at Community