Fix bug in JAX-RS Spring integration
Merge pull request #5973 from stuartwdouglas/spring-jaxrs

Fix bug in JAX-RS Spring integration