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
Deployed on GlassFish Server Open Source Edition 4.1.2 throws exception - server latest throws Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper
#7
Closed
vidhya03 opened this issue
Jan 14, 2018
· 1 comment
Deploying in GlassFish Server Open Source Edition 4.1.2
Successfully deployed however running test got error:
javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper
The text was updated successfully, but these errors were encountered:
Delete all files starting with “org.eclipse.persistence” from $GLASSFISH_INSTALLATION_DIR\glassfish\modules
In my glassfish instance i did the below 9 files org.eclipse.persistence.antlr.jar org.eclipse.persistence.asm.jar org.eclipse.persistence.core.jar org.eclipse.persistence.dbws.jar org.eclipse.persistence.jpa.jar org.eclipse.persistence.jpa.jpql.jar org.eclipse.persistence.jpa.modelgen.processor.jar org.eclipse.persistence.moxy.jar org.eclipse.persistence.oracle.jar
Download “EclipseLink 2.6.5 OSGi Bundles Zip” from http://www.eclipse.org/eclipselink/downloads/
From the downloaded file copy all files starting with “org.eclipse.persistence” especially the above 9 files back to $GLASSFISH_INSTALLATION_DIR\glassfish\modules (source jar files are not required)
Deploying in GlassFish Server Open Source Edition 4.1.2
Successfully deployed however running test got error:
javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper
The text was updated successfully, but these errors were encountered: