My Oracle Support Banner

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 OCTOBER 09, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
 Procedure:
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.