Register / Login
Win a copy of
Cross-Platform Desktop Applications: Using Node, Electron, and NW.js
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
No message body reader found for request class in apache CXF
posted 5 years ago
Hi to all,
I am trying to run the CXF-Rest Services in Jboss6. Application was deployed successfully , when i try to run i am getting following exception
No message body reader found for request class UpcLineOfBusinessEntity
Based on google i understand that we need to configure JAXB Databinding in CXF XML file. So i added the following line in my cxf.xml
<bean id="jaxbProvider" class="org.apache.cxf.jaxrs.provider.JAXBElementProvider"> <property name="jaxbElementClassNames"> <list> <value> com.tecnotree.upc.entities.UpcLineOfBusinessEntity </value> </list> </property </bean>
But it throwing
for jaxbElementClassNames . I dont know how to do it. Please show me the way.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
CXF-RS throwing No operation matching request path /create is found
ResourceBundle [/WEB-INF/messageresource/welcome] not found for MessageSource
spring with quartz example
Marshalling plumbing - off base
WebServiceContext or handle to session in CXF JAX-RS implementation