I had the same exception on Tomcat.. I found another problem - when i use wsimport over maven plugin to generate stubs for more then 1 WSDLs - class ObjectFactory
(stubs references to this class) contains methods ONLY for one wsdl. So you should merge all methods in one ObjectFactory
class (for each WSDL) or generate each wsdl stubs in different directories (there will be separates ObjectFactory
classes). It solves problem for me with this exception..J