A work around this is to use @Autowired and @Qualifier Spring annotations instead of @Resource

--
Julio Arias
Senior Java Developer
Roundbox Global : enterprise : technology : genius
---------------------------------------------------------------------------------
Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
tel: (011) 506.258.3695 ext. 2001 | cel: (011) 506.849.5981
email: [EMAIL PROTECTED] | www.rbxglobal.com
---------------------------------------------------------------------------------

On May 15, 2008, at 5:16 AM, nicolas de loof wrote:

Hello,

my web service implementation is configured as a spring bean :
<jaxws:endpoint implementor="#service" .../>

Spring injects my dependencies in fields annotated with @Resource. CXF also
tries, and I get some errors in log :

2008-05-15 11:59:12,752 : ResourceInjector.visitField : failed to resolve
resource
com .capgemini .tpal.webservices.ServicesConsultation.ServicesConsultationSimple/ tablerefDAO

Can I disable CXF @Resource support ?

Reply via email to