Package not found while running WSGen command for Jax Ws Webservice
I am having this issue for quite a some time now and not able to figure out the proper solution.
I am using this command to generate wsdl : wsgen -classpath ../build/classes/ -wsdl -s . ws.JaxWsService under the source folder of my application.
The class JaxWsService is annotated as @WebService.This class imports hibernate and spring classes.Whenever i run the wsgen command it says the spring and hibernate packages does not exists.But i have the jars under the lib directory.
Any idea how to resolve this issue.