You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Tobias Israel <to...@buschmais.com> on 2008/05/30 16:23:28 UTC
Failed to build wsdl-first sample
Hi,
I tryed to build the wsdl-first sample and finally it does'nt work at all.
So I got an java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
exception and figured out that there might be some problems with CXF in that
case. Any ideas to fix this?
Thanks a lot
Tobias
--
View this message in context: http://www.nabble.com/Failed-to-build-wsdl-first-sample-tp17560164p17560164.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Failed to build wsdl-first sample
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
The underlying implementation of jsr181 is xfire.
The xifre-maven-plugin can't work with 2.0.9 is known issue ([1] is
discussion about it)and already get fixed by Guillaume a couple of days
ago, so if you try with the latest servicemix 3.2.2 snapshot, this
sample should be ok with maven 2.0.9
[1]http://cwiki.apache.org/SM/discussion-forums.html#nabble-td17147294%7Ca17156674
Regards
Freeman
Tobias Israel wrote:
> Hi Freeman,
>
> no, it wasn't the cxf-wsdl-first but the wsdl-first. And yes, using maven
> 2.0.8 makes this sample to run. So if wsdl-first (wich uses a jsr181
> component) has nothing to do with CXF, what kind of backend is it than?
>
> Thanks, regards
> Tobias
>
>
>
> Freeman Fang wrote:
>
>> Hi Tobias,
>>
>> I guess the sample you mentioned is cxf-wsd-first but not wsdl-first,
>> right?
>> IMHO, java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel has
>> nothing to do with cxf
>> It should be caused by maven 2.0.9, would you build it with maven
>> 2.0.8 please?
>>
>> Regards
>> Freeman
>>
>> Tobias Israel wrote:
>>
>>> Hi,
>>>
>>> I tryed to build the wsdl-first sample and finally it does'nt work at
>>> all.
>>> So I got an java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>>> exception and figured out that there might be some problems with CXF in
>>> that
>>> case. Any ideas to fix this?
>>>
>>> Thanks a lot
>>> Tobias
>>>
>>>
>>
>>
>
>
Re: Failed to build wsdl-first sample
Posted by Tobias Israel <to...@buschmais.com>.
Hi Freeman,
no, it wasn't the cxf-wsdl-first but the wsdl-first. And yes, using maven
2.0.8 makes this sample to run. So if wsdl-first (wich uses a jsr181
component) has nothing to do with CXF, what kind of backend is it than?
Thanks, regards
Tobias
Freeman Fang wrote:
>
> Hi Tobias,
>
> I guess the sample you mentioned is cxf-wsd-first but not wsdl-first,
> right?
> IMHO, java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel has
> nothing to do with cxf
> It should be caused by maven 2.0.9, would you build it with maven
> 2.0.8 please?
>
> Regards
> Freeman
>
> Tobias Israel wrote:
>> Hi,
>>
>> I tryed to build the wsdl-first sample and finally it does'nt work at
>> all.
>> So I got an java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
>> exception and figured out that there might be some problems with CXF in
>> that
>> case. Any ideas to fix this?
>>
>> Thanks a lot
>> Tobias
>>
>
>
>
--
View this message in context: http://www.nabble.com/Failed-to-build-wsdl-first-sample-tp17560164p17560823.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Failed to build wsdl-first sample
Posted by Freeman Fang <fr...@gmail.com>.
Hi Tobias,
I guess the sample you mentioned is cxf-wsd-first but not wsdl-first, right?
IMHO, java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel has
nothing to do with cxf
It should be caused by maven 2.0.9, would you build it with maven
2.0.8 please?
Regards
Freeman
Tobias Israel wrote:
> Hi,
>
> I tryed to build the wsdl-first sample and finally it does'nt work at all.
> So I got an java.lang.NoClassDefFoundError: com/sun/codemodel/JCodeModel
> exception and figured out that there might be some problems with CXF in that
> case. Any ideas to fix this?
>
> Thanks a lot
> Tobias
>