View Single Post
Old 12-26-2013, 04:11 PM
karomann karomann is offline
Junior Member
Join Date: Dec 2013
Posts: 1
Default CDI extension (spring data) in Resin 4.0.38 not working (?)

does CanDI/Resin support CDI extensions? I wanted to use Spring Data as a CDI extension in my web application. I put the spring-data-jpa-1.4.3.RELEASE.jar containing appropriate META-INF/services/javax.enterprise.inject.spi.Extension file into my .war file, but the extension does not seem to be picked up by Resin - on startup I get a javax.enterprise.inject.UnsatisfiedResolutionExcep tion: Can't find a bean for 'interface' because no beans implementing that class have been registered with the injection manager InjectManager[web-approduction/webapp/default/mywar-1.0-SNAPSHOT].

Do I need e.g. to manually register a CDI extension in some xml file in order for it to work?

The .war archive deploys and works correctly on JBoss EAP 6.1. I am using Resin 4.0.38 Open Source version.

Thanks in advance
Reply With Quote