[jboss-user] [EJB 3.0] - Problem with NotEligibleForDirectInvocationException

jaikiran pai do-not-reply at jboss.com
Wed Jul 21 14:19:25 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"Problem with NotEligibleForDirectInvocationException"

To view the discussion, visit: http://community.jboss.org/message/553808#553808

--------------------------------------------------------------
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
[http://community.jboss.org/message/553808#553808]

Start a new discussion in EJB 3.0 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/20100721/3d6ba185/attachment.html 


More information about the jboss-user mailing list