Hi Sergey,
Not exactly. Cant make it out from the logs.
Below is the root cause from the logs.
Caused by: javax.ws.rs.WebApplicationException
at
org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(Abstract
JAXRSFactoryBean.java:232)
at
org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactory
Bean.java:85)
Thanks & Regards,
Yong-Loh
Sergey Beryozkin-2 wrote:
>
> Hi
>
> Do you see some other hints in the logs ? Where is the exception
> originating from ?
>
> cheers, Sergey
>
>>
>> Hi,
>>
>> We are using JAX-RS for CXF RESTful webservices. Our service has just one
>> method that handles a GET request.
>>
>> And below is how we have mapped our service in beans.xml.
>>
>> <jaxrs:server id="contentProcessService" address="/">
>> <jaxrs:serviceBeans>
>> <ref bean="contentProcessBean" />
>> </jaxrs:serviceBeans>
>> <jaxrs:providers>
>> <bean class="org.apache.cxf.jaxrs.provider.XMLBeansElementProvider"
>> />
>> </jaxrs:providers>
>> </jaxrs:server>
>>
>> <bean id="contentProcessBean"
>> class="com.endpoint.impl.ContentProcessImpl">
>> <property name="contentQueryService" ref="contentQueryService" />
>> <property name="cacheService" ref="cache" />
>> </bean>
>>
>> We are getting the below exception when we deploy the war in Tomcat.
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean
>> wit
>> h name 'contentProcessService': Invocation of init method failed; nested
>> excepti
>> on is org.apache.cxf.service.factory.ServiceConstructionException
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
>>
>> Any pointers in resolving this issue would be of great help.
>>
>> Thanks & Regards,
>> Yong-Loh
>> --
>> View this message in context:
>> http://old.nabble.com/CXF-with-JAX-RS-%3A-ServiceException-during-deployment-tp27335640p27335640.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context:
http://old.nabble.com/CXF-with-JAX-RS-%3A-ServiceException-during-deployment-tp27335640p27337566.html
Sent from the cxf-user mailing list archive at Nabble.com.