tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Lozano <ferna...@lozano.eti.br>
Subject Re: TomEE Rest : Issue with JSON response
Date Mon, 22 Oct 2012 14:16:54 GMT
Hi,

Maybe it helps, I got this kind of error when my project included CXF 
jars (I hate most IDEs samples and also most sample POMs, they create 
jar hell). Removed them from my WAR WEB-INF/lib and all went fine.


[]s, Fernando Lozano

> Hi,
>
> can you reproduce the error in a simple ready-to-run maven project?
>
> btw i never saw this error
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
>
> 2012/10/22 Potgieter, Derick D <Derick.Potgieter@standardbank.co.za>
>
>> Hi Guys,
>>
>> Want to check if anyone else is experiencing this issue.
>> I have a rest service that is throwing the below error but only on the 2nd
>> request onwards.
>>
>> java.lang.NoClassDefFoundError: org/apache/cxf/common/jaxb/NamespaceMapper
>>
>> The request is for a Single VO.
>> If I return a List<VO> then it works fine for JSON serialization.
>>
>> Seems very strange on why the same VO wound not be rendered.
>>
>> I have even included the cxf-common-utilities-2.5.6.jar lib to make sure
>> this not the case, but this is not helping. First one works, subsequent
>> calls not.
>>
>> Regards
>> Derick
>> Standard Bank email disclaimer and confidentiality note
>> Please go to
>> http://www.standardbank.co.za/site/homepage/emaildisclaimer.html to read
>> our email disclaimer and confidentiality note. Kindly email
>> disclaimer@standardbank.co.za (no content or subject line necessary) if
>> you cannot view that page and we will email our email disclaimer and
>> confidentiality note to you.
>>


Mime
View raw message