Where is your interface class for your EJB3 located?
It's located int the Jboss's deploy/EJB3App.jar directory. And the web-app is in deploy/WebApp.war directory.
I also copied the ejb classes into /WebApp.war/WEB-INF/Classes directory. Nothing changed. Got same exception again.
Thanks for showing the way Asack. At last solved it. The problem is my EJB and WEB projects both involve a framework project which contains a BaseService class. I use this class for an abstract implementation to session beans. The class involves in both deployments and cause a conflict.
have the same problem, but can't solve it.
i deploy a
....|- test.jar ->containing statless bean and interfaces
....|- test.war ->conataining webproject with a simple jsp page
jsp page should execute a method from statless bean.
The Lookup and cast works fine, but exec methods throws same exception mentioned on top.
I had some ejb jars in the lib of webapp.
so they conflicted without warning and caused this err.