I'm attempting to start a webservice bundle on JBoss Fuse.  The bundle is
based on Spring MVC, and uses Apache BVal for bean validation. However, a.
Spring MVC fails to auto detect that JSR-303 support is installed unless I
specifically wire it in using this in my Spring Context:

<bean name="validator"
class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean">
<property name="providerClass"
value="org.apache.bval.jsr303.ApacheValidationProvider" /> </bean>
<mvc:annotation-driven validator="validator"/> b. When I do wire it in,
JBoss Fuse hangs trying to find the JSR-303 spec. Hooking up a debugger
seems to show it hanging in
org.apache.servicemix.specs.locator.OsgiLocator.locate(). Any help would be
appreciated! Thank you!

Reply via email to