[Jersey] Re: Overriding DefaultOauthProvider in Jersey 1.18.3

From: Marek Potociar <>
Date: Thu, 18 Dec 2014 21:04:50 +0100

Declare all your resources and providers explicitly and do not rely on classpath scanning. (IOW, implement a subclass of that returns all your provider classes from getClasses(). Alternatively, use Jersey ResourceConfig subclass.)


> On 18 Dec 2014, at 19:15, Bill Oberacker <> wrote:
> I need to know how I can "ignore" or "override" DefaultOAuthProvider when deploying a Jersey 1.18.3 application. I have my own "OAuth Provider" (annotated with the @Provider annotation), but I'm getting a warning that 2 providers are attempting to be provided.
> Thanks.
> Bill Oberacker