I keep getting this error when running my JUnit tests. It only occurs when I try to import Jersey custom ExceptionMappers from a .jar file to my .war file.
I know that the mappers work correctly when they are in the .war file but I have two separate modules that need them and would prefer not to duplicate the mappers to have one in each module.
[RxCachedThreadScheduler-1] ERROR
c.s.j.s.container.ContainerResponse - The exception contained within
MappableContainerException could not be mapped to a response, re
throwing to the HTTP container
search.internal.datapower.InvalidUserInfoException:
WRRC003: The required X-UserInfo header was missing from the
request.
Does anyone know how to import an ExceptionMapper from a .jar file?