http://www.jroller.com/gmazza/date/20080417 ?

HTH,
Glen

2008-06-14 Pam Holzner wrote:
> Hi,
>  
> I am trying to use cxf to generate a service from a wsdl.  I started with my 
> own wsdl but ran into this message:
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/sun/xml/bind/api/ErrorListener ...
>  
> Thinking that perhaps my environment was not setup right.  I fell back to 
> trying to follow the instructions in the wsdl-first sample.
>  
> CXF_HOME is set to c:\java\apache_cxf-2.1
>  
> I'm using this batch script:
> echo %CXF_HOME%set 
> classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classesmkdir 
> build\classes%CXF_HOME%\bin\wsdl2java -d build\classes -compile 
> .\wsdl\hello_world.wsdl
>  
> I'm getting the same ErrorListener not found error.
>  
> When I search for ErrorListener I find references in the jars that came with 
> cxf but not a definition. It looks like ErrorListener is defined in 
> jaxb-impl.jar in the jaxws-2.1.3 distribution.  I tried adding that jar but I 
> got the same result.  I think I am chasing my tail.  Surely the sample works 
> and I am just doing something stupid.
>  
> Any advice?
> _________________________________________________________________
> Now you can invite friends from Facebook and other groups to join you on 
> Windows Liveā„¢ Messenger. Add now.
> https://www.invite2messenger.net/im/?source=TXT_EML_WLH_AddNow_Now

Reply via email to