JPA Validation Dependency (Doc ID 2042701.1)

Last updated on JUNE 09, 2016

Applies to:

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

Symptoms

Getting the below exception in WebLogic (WLS) 12.1.3 when the JPA validation that is triggered at the application startup phase is missing a Jar dependency on Hibernate.
When testing the same application in WLS 12.1.1 and 12.1.2, it works without any issues.

Exception raised

wui.x.server.out00002:weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.hibernate.validator.HibernateValidator
wui.x.server.out00002:Caused By: java.lang.ClassNotFoundException: org.hibernate.validator.HibernateValidator

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