JBoss Community

Problem with NotEligibleForDirectInvocationException

reply from jaikiran pai in EJB 3.0 - View the full discussion
java.lang.ClassCastException: javax.naming.Reference cannot be cast to de.kirchedlau.ponteseam.sessions.ContentInterface





 

Looks like you are missing the jbossall-client.jar (and the other jars that are referenced in its META-INF/MANIFEST.MF file) from the JUnit classpath. Those jars are available in JBOSS_HOME/client folder. Add them to the client classpath of your JUnit test.

Reply to this message by going to Community

Start a new discussion in EJB 3.0 at Community