You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GlassFish Version (and build number): master (at least to 4013c90), 5.0 release suffer from this as well
JDK version: 1.8_192, but irrelevant to this problem
OS: Linux alpine, again, irrelevant to this problem
Problem Description
Deploying of application fails with:
Exception while loading the app : java.lang.ClassNotFoundException: org.hibernate.validator.cdi.internal.interceptor.ValidationInterceptor
java.lang.ClassNotFoundException: org.hibernate.validator.cdi.internal.interceptor.ValidationInterceptor
at com.sun.enterprise.loader.ASURLClassLoader.findClassData(ASURLClassLoader.java:841)
at com.sun.enterprise.loader.ASURLClassLoader.findClass(ASURLClassLoader.java:718)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
...
Looking for this class lead me to bean-validator-cdi module which is repackaged version of hibernate-validator-cdi. Though when I look at MANIFEST.MF file of repackaged jar I see following:
It look to me that jar is exporting package that doesn't exist and therefore classloader cannot access it. And indeed when I fixed bean-validator-cdi jar manifest - everything is deployed and worked again.
Please fix that.
Steps to reproduce
Deploy application with JPA entities in it
Impact of Issue
Can't run my application.
The text was updated successfully, but these errors were encountered:
Environment Details
Problem Description
Deploying of application fails with:
Looking for this class lead me to bean-validator-cdi module which is repackaged version of hibernate-validator-cdi. Though when I look at MANIFEST.MF file of repackaged jar I see following:
See the problem? No?
And now?:
It look to me that jar is exporting package that doesn't exist and therefore classloader cannot access it. And indeed when I fixed bean-validator-cdi jar manifest - everything is deployed and worked again.
Please fix that.
Steps to reproduce
Deploy application with JPA entities in it
Impact of Issue
Can't run my application.
The text was updated successfully, but these errors were encountered: