axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Ruiz <rr...@gridsystems.com>
Subject Re: classpath
Date Wed, 20 Sep 2006 14:03:16 GMT
Hi Fabio, the missing class is from Axiom. You should have one or more
axiom*.jar files in %AXIS2_LIB%. Add them all to your classpath.

HTH,
Rodrigo Ruiz

Fabio Alves de Araujo Ebner - DNA Solution wrote:
> how .jar i need put at classpath??
>  
> %AXIS2_LIB%\axis2-codegen-1.0.jar;%AXIS2_LIB%\axis2-kernel-1.0.jar;%AXIS2_LIB%\neethi-1.0.1.jar;%AXIS2_LIB%\XmlSchema-1.0.2.jar;%AXIS2_LIB%\xbean-2.1.0.jar;%AXIS2_LIB%\axis2-xmlbeans-1.0.jar;
>  
> i put all this but when i run
> WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -d
> xmlbeans -o ..\samples -p org.apache.axis2.userguide
> i got the error:
>  
> C:\tomcat\axis2\lib>java org.apache.axis2.wsdl.WSDL2Java -uri
> http://localhost:8
> 080/axis2/services/VerificaLogin?wsdl -ss -sd -d xmlbeans -o \exemplo1
> -p br.com
> .dnasolution
> Exception in thread "main" java.lang.NoClassDefFoundError
>         at
> org.apache.axis2.wsdl.databinding.TypeMapper$1.class$(TypeMapper.java
> :29)
>         at
> org.apache.axis2.wsdl.databinding.TypeMapper.<clinit>(TypeMapper.java
> :29)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputParamElement(AxisServiceBasedMultiLanguageEmitter.java:1576)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.getInputElement(AxisServiceBasedMultiLanguageEmitter.java:1426)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1197)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.createDOMDocumentForSkeleton(AxisServiceBasedMultiLanguageEmitter.java:111
> 7)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeSkeleton(AxisServiceBasedMultiLanguageEmitter.java:1080)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:690)
>         at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:168)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.ClassNotFoundException: org.apache.axiom.om.OMElement
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Unknown Source)
>         ... 12 more
> 
> 
-- 
-------------------------------------------------------------------
GRIDSYSTEMS                    Rodrigo Ruiz Aguayo
Parc Bit - Son Espanyol
07120 Palma de Mallorca        mailto:rruiz@gridsystems.com
Baleares - EspaƱa              Tel:+34-971435085 Fax:+34-971435082
http://www.gridsystems.com
-------------------------------------------------------------------


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/09/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message