How To Implement A Dependent Bean As A ConstraintValidator Which Validates A Method Parameter Of JAX-RS Application On WebLogic Server. (Doc ID 2225773.1)

Last updated on FEBRUARY 14, 2017

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

A org.glassfish.hk2.api.UnsatisfiedDependencyException is thrown when a JAX-RS application uses a dependent bean as a ConstraintValidator of a method parameter. The following sample uses ConstraintValidator as "@MyValidate" dependent bean.

Sample:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms