Hi

This error doesn't say the class cannot be found. It says the class cannot be 
initialized. Do you have another
exceptions during start of your bundle? Does the error occurwhen you start the 
bundle containing Axis with dependencies
or when you start the bundle with classes generated using wsdl2java?

Regards
Krzysztof

On 03.04.2015 17:15, anas bakhou wrote:
> I am new in Apache Camel and SOAP Jira Client, so I generated some Classes
> using axis wsdl2java and I deployed the bundle in servicemix. For
> ServiceMix, Axis doesn't mean anything that why I add a Third part
> dependency and I generated a plugin that contains All the Jars that I need.
> Here is the list of Jars:
> -Axis 1.4
> -Axis saaj 1.4
> -Axis wsdl4j 1.5.1
> -commons-discovery
> -commons-logging
> -javax.xml.parsers 1.1
> -javaxp api 1.4.2
> -javaxrpc 1.1
> -jndi 1.2.1
> -w3c dom
> -wmlParserApi 2.0.2
> When the Bundle Started I got this Error.
>
> Caused by: java.lang.NoClassDefFoundError:
> org.apache.axis.deployment.wsdd.WSDDConstants
>         at
> org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
>         at
> org.apache.axis.AxisEngine.init(AxisEngine.java:172)[674:TestTest3:1.0.0]
>         at
> org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)[674:TestTest3:1.0.0]
>         at
> org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)[674:TestTest3:1.0.0]
>         at
> org.apache.axis.client.Service.getAxisClient(Service.java:104)[674:TestTest3:1.0.0]
>         at
> org.apache.axis.client.Service.<init>(Service.java:113)[674:TestTest3:1.0.0]
>         at
> com.atlassian.jira.rpc.soap.client.test.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:16)[669:JiraSoapClientCamelBlueprint.JiraSoapClientCamelBlueprint:0.0.1.SNAPSHOT]
>
> When I checked The axis Jar I found this Class.
>
> Can any one help me please !! 
>
>
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Caused-by-java-lang-NoClassDefFoundError-org-apache-axis-deployment-wsdd-WSDDConstants-tp5722456.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Krzysztof Sobkowiak

JEE & OSS Architect
Apache Software Foundation Member
Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair
Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>

Reply via email to