2011/7/21 Sergey Beryozkin <[email protected]>: > Actually, I think I know what the problem is. > When you use Application, singletons Set can contain root resource and > provider classes and thus > in order to differentiate, providers must have a @Provider annotation > which is not required when Spring or JAXRServerFactoryBean is used > > So adding that annotation should fix it
Indeed it did! As long as I added the @Provider annotation it did not matter whether I put it in the set returned by getSingletons() or getClasses(). Thanks!
