Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Noclassdeffound when generating web service client

 
James Tildesley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to generate a web service client in net beans but whenever I click finish (to generate the service from the wsdl I get the following error:

java.lang.NoClassDefFoundError: javax/mail/internet/MimeMultipart
at com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.<init>(StandardSOAPTypeMappings.java:910)
at com.sun.xml.rpc.encoding.StandardTypeMappings.getSoap(StandardTypeMappings.java:32)
at com.sun.xml.rpc.client.BasicService.createSoapMappings(BasicService.java:230)
at com.sun.xml.rpc.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:202)
at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.writeGetRegistry(SerializerRegistryGenerator.java:468)
at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.generateSerializerRegistry(SerializerRegistryGenerator.java:347)
at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.postVisitService(SerializerRegistryGenerator.java:159)
at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:221)
at com.sun.xml.rpc.processor.model.Service.accept(Service.java:102)
at com.sun.xml.rpc.processor.generator.GeneratorBase.visitModel(GeneratorBase.java:211)
at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase.java:199)
at com.sun.xml.rpc.processor.model.Model.accept(Model.java:139)
at com.sun.xml.rpc.processor.generator.GeneratorBase.doGeneration(GeneratorBase.java:188)
at com.sun.xml.rpc.processor.generator.GeneratorBase.perform(GeneratorBase.java:133)
at com.sun.xml.rpc.processor.Processor.runActions(Processor.java:88)
at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:739)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at org.netbeans.modules.websvc.registry.jaxrpc.Wsdl2Java.execute(Wsdl2Java.java:227)
at org.netbeans.modules.websvc.registry.util.Util.createWSJar(Util.java:493)
at org.netbeans.modules.websvc.registry.RegistryViewImpl.registerService(RegistryViewImpl.java:221)
at org.netbeans.modules.websvc.registry.RegistryViewImpl.registerService(RegistryViewImpl.java:159)
at org.netbeans.modules.websvc.registry.netbeans.RegisterViewImplNetBeansSide.registerService(RegisterViewImplNetBeansSide.java:91)
at org.netbeans.modules.websvc.jaxrpc.client.wizard.ClientBuilder.generate(ClientBuilder.java:330)
at org.netbeans.modules.websvc.jaxrpc.client.wizard.JaxRpcClientCreator$2.run(JaxRpcClientCreator.java:319)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)

Does anyone have any idea what could cause this error?

Thanks

James
 
James Tildesley
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to add to this, it appears to only be happening when I create a Web Service Client and not the standard web service...

Thanks in advance

James
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!