hi all, i m trying to generate a client using jbossws wstools ant task (within maven2).. here's my task
| <tasks> | <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools"> | <classpath refid="maven.dependency.classpath"/> | <classpath> | <fileset dir="${jboss.libdir}\client"> | <include name="activation.jar"/> | <include name="javassist.jar"/> | <include name="jbossall-client.jar"/> | <include name="jbossretro-rt.jar"/> | <include name="jboss-backport-concurrent.jar"/> | <include name="jbossws-client.jar"/> | <include name="jboss-xml-binding.jar"/> | <include name="jbossws14-client.jar"/> | <include name="log4j.jar"/> | <include name="mail.jar"/> | <include name="wsdl4j.jar"/> | </fileset> | <fileset dir="${jboss.libdir}\lib\endorsed"> | <include name="*.jar"/> | </fileset> | </classpath> | </taskdef> | <echo message="********** Running jboss ws **************"/> | <mkdir dir="dd/ws" /> | <wstools dest="${project.build.outputDirectory}/META-INF" | config="${workspace.dir}/middleware/ngenMiddleware/jboss/wstools-messenger-config.xml"/> | | <wstools dest="${project.build.outputDirectory}/META-INF" | config="${workspace.dir}/middleware/ngenMiddleware/jboss/wstools-translation-config.xml"/> | | <wstools dest="client" | config="${workspace.dir}/middleware/ngenMiddleware/client/wstools-messenger-client-config.xml"/> | | the first two (generation of wsdl ) worked fine, the latter not.. and here's the exception | [ERROR] FATAL ERROR | [INFO] ------------------------------------------------------------------------ | [INFO] com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(Lorg/xml/sax/EntityReso | lver;)V | [INFO] ------------------------------------------------------------------------ | [INFO] Trace | java.lang.NoSuchMethodError: com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(L | org/xml/sax/EntityResolver;)V | at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio | nsFactory.java:142) | at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:121) | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too | lsHelper.java:324) | at org.jboss.ws.tools.WSTools.process(WSTools.java:138) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA | ntMojo.java:99) | at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:82) | | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi | nManager.java:412) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa | ultLifecycleExecutor.java:534) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi | fecycle(DefaultLifecycleExecutor.java:475) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau | ltLifecycleExecutor.java:454) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan | dleFailures(DefaultLifecycleExecutor.java:306) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen | ts(DefaultLifecycleExecutor.java:273) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:140) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | i followed what has been described here http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3968854 but still i am getting same exception........ can anyone help? thanx and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970075#3970075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970075 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user