I am using JBOSS EAP 6.4 for my development. Here I have two war files. One is say myProject, and another is myProject-ws. myProject is a spring MVC application which is working perfectly on its own. Here I have used Spring @Service for creating my service layer.
Now problem is, I am trying to add SOAP web services. This SOAP webservices war is supposed to refer to java beans of my spring MVC project. But when I am running the server I am getting java.lang.NoClassDefFoundError .
Till now I have attempted following things -
- Add Spring MVC project in the build path
- Add Spring MVC project in the project references
- Add Spring MVC project in the class path.
Even after all this changes, I am getting same exception. Is there any thing else which I can do?
Thanks