Difference Between Javax.Persistence_1.0.0.0_1-0-2.Jar And Javax.Persistence_1.0.0.0_1-0.Jar

(Doc ID 1148113.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 and later
Information in this document applies to any platform.


The problem is with deployment of an application. Initially deploying the application into a "clean" environment. (This is, an environment where the managed server and admin server have just been restarted and the application in question is not deployed.) is successful. The application deploys to 'Prepared' state. On starting the application successfully the status moves to 'Active' and all is fine.

Now on deleting the application on re-deploying the application again it moves to 'Prepared' state okay. However when the application is started it fails. The error that we get is:
java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator

On bouncing the managed servers they come up cleanly with the application cleanly deployed and a status of 'Active'.

So it appears that the delete does not work properly which causes the subsequent deployment to fail.

### Steps to Reproduce ###:
- Deploy application
- Start application
- Stop application
- Delete application
- Deploy application
- Start application

In the WLS10.3 the bea/modules/javax.persistence_1.0.0.0_1-0.jar is replaced with 1.0.2.

So mention the difference between javax.persistence_1.0.0.0_1-0-2.jar and javax.persistence_1.0.0.0_1-0.jar?


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