[
https://issues.apache.org/jira/browse/AXIS2-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533183
]
Tom Cort commented on AXIS2-3190:
---------------------------------
Franz, what does your POM look like? I got the same exception, but I found that
changing the groupId to "org.apache.axis2" and explicitly setting the version
to 1.3 fixed my problem. Here is the wsdl2code part of my POM...
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<databindingName>xmlbeans</databindingName>
<packageName>your.pkg.name.here</packageName>
</configuration>
</plugin>
</plugins>
</build>
There was a thread about this issue....
http://www.mail-archive.com/[EMAIL PROTECTED]/msg68457.html
> java.lang.NoClassDefFoundError: javax/wsdl/WSDLException on
> axis2-wsdl2code-maven-plugin
> ----------------------------------------------------------------------------------------
>
> Key: AXIS2-3190
> URL: https://issues.apache.org/jira/browse/AXIS2-3190
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools, wsdl
> Affects Versions: 1.1
> Reporter: Franz Allan Valencia See
> Assignee: Amila Chinthaka Suriarachchi
> Attachments: AXIS2-3190-axis2-wsdlcode-maven-plugin.patch
>
>
> java.lang.NoClassDefFoundError: javax/wsdl/WSDLException
> at
> org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo.java:396)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]