I am getting an error :
A provider com.xyx.in.astra.aqr.security.application.requestFilter.UniversalSessionManagerFilter registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider com.xyx.in.astra.aqr.security.application.requestFilter.UniversalSessionManagerFilter will be ignored.
NOTE : 1) This UniversalSessionManagerFilter filter is in external jar file which is in the server classpath 2) I am using @Provider annotation on the filter and @Priority annotation to define priority 3) This is rest server filter
This has been reported as an issue in Jersey. See Jersey issue #3700.
With Jersey 2.26 the warning message is triggered if you register an instantiated resource object directly on a ResourceConfig
. However, the warning is intentional.
You can register a class instead of an instance. Or you can configure the resource via an AbstractBinder
and a Feature
.
If the warning actually originates from a third-party library registering a resource instance on a ResourceConfig
, you can work around it by suppressing log messages from the org.glassfish.jersey.internal.inject.Providers
logger as recommended in the Jersey ticket.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With