I Jaish,
I once saw that error in an attempt to try axis2.
axis2 comes with a bunch of dependencies that i didn't find in the
maven repository,
Check in your downloaded axis2 zip file.
I then uploaded each in my personnal 3rdparty repo.
Raphaël
PS, Maybe thoses dependencies are foundable in another repo, which i
don't know about yet
2007/5/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Thanks for looking into Jochen.
I am getting following error:
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/apache/neethi/Policy
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoClassDefFoundError: org/apache/neethi/Policy
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration
Engine.java:103)
at
org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo.ja
va:396)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.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:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)
[INFO]
------------------------------------------------------------------------
Here is the plug-in details I am using. Let me know if I am missing
something here?
<plugin>
<groupId>org.apache.axis2.maven2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsdl2code</goal>
</goals>
</execution>
</executions>
<configuration>
<generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
<generateAllClasses>true</generateAllClasses>
<generateServiceXml>true</generateServiceXml>
<generateTestcase>true</generateTestcase>
<packageName>some.package</packageName>
<namespaceToPackages>some.package=some.package</namespaceToPackages>
<wsdlFile>C:\test.wsdl</wsdlFile>
<outputDirectory>src/main</outputDirectory>
<syncMode>both</syncMode>
<databindingName>xmlbeans</databindingName>
<language>java</language>
</configuration>
</plugin>
-----Original Message-----
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED]
Sent: Monday, May 07, 2007 11:54 AM
To: Maven Users List
Subject: Re: axis2-wsdl2code-maven-plugin not working for me
On 5/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> I still some help to use the axis2 plug in. Looks like this plug in is
> missing some of the dependency and I am not sure of it.
Use the -X option and let's see a stack trace or whatever useful
information you can provide.
--
My cats know that I am a loser who goes out for hunting every day
without ever returning as much as a single mouse. Fortunately, I've got
a wife who's a real champ: She leaves the house and returns within half
an hour, carrying whole bags full of meal.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]