Java Web Service - Faulty Services - ClassNotFound Exception
Posted
by Epitaph
on Stack Overflow
See other posts from Stack Overflow
or by Epitaph
Published on 2010-03-16T22:45:21Z
Indexed on
2010/03/16
22:51 UTC
Read the original article
Hit count: 576
My Project has 2 java files (A.java and B.java in same package). A.java uses methods in B.java. And, an external jar has been added in the project build path. In order to create a web service (bottom up) from the class, I created a new Dynamic Web Project in Eclipse with axis2 as the runtime platform, and imported A.java and B.java source files. Next, since all my methods that need to be exposed are contained in A.java, I right click on it and created web service using the standard settings. When I deploy the web service on my apache, I get "Fault Service" and a few ClassNotFound Exceptions for some of the classes in my external jar file (I have already imported it as an external jar).
Does the external jar needs to be imported in another way?
© Stack Overflow or respective owner