Error: "UnsupportedClassVersionError: Class ....autovue.services.VueBeanWS.." and "UnsupportedClass..Error:Class com.cimmetry.servlet.VueServlet" When Attempting to Deploy AutoVueWS.war and VueServlet.war on GlassFish 2.1 (Doc ID 2095030.1)

Last updated on JANUARY 21, 2016

Applies to:

Oracle AutoVue 3D Professional Advanced - Version 21.0.0 and later
Oracle AutoVue Office - Version 21.0.0 and later
Oracle AutoVue Electro-Mechanical Professional - Version 21.0.0 and later
Oracle AutoVue 2D Professional - Version 21.0.0 and later
Oracle AutoVue EDA Professional - Version 21.0.0 and later
Information in this document applies to any platform.

Symptoms

Deployment of AutoVue Web Services 21.0.0 on GlassFish 2.1 fails. The related AutoVue Web Services war files: AutoVueWS.war and VueServlet.war were built off JDK 1.5.0_22. The following errors are thrown in GlassFish Interface when attempting to deploy these war files:

For AutoVueWS.war file, the following error is thrown:

[#|2016-01-05T14:15:41.531-0500|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=18;_ThreadName=Thread-80;_RequestID=6da1a53b-4798-4290-9bdd-0f60c0a4df2b;|Exception occured in J2EEC Phasejava.lang.UnsupportedClassVersionError: UnsupportedClassVersionError: Class com.oracle.autovue.services.VueBeanWS has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [AutoVueWS] -- UnsupportedClassVersionError: Class com.oracle.autovue.services.VueBeanWS has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:426)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:160)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:182)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:283)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:835)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
Caused by: java.lang.UnsupportedClassVersionError: UnsupportedClassVersionError: Class com.oracle.autovue.services.VueBeanWS has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:691)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:186)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:405)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:813)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:794)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:365)
... 10 more

For VueServlet.war the following error is thrown:

[#|2016-01-05T14:15:01.936-0500|SEVERE|sun-appserver2.1|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Thread-65;_RequestID=e92e85ca-c180-4c0c-820d-406d463e8f51;|Exception occured in J2EEC Phasejava.lang.UnsupportedClassVersionError: UnsupportedClassVersionError: Class com.cimmetry.servlet.VueServlet has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [VueServlet] -- UnsupportedClassVersionError: Class com.cimmetry.servlet.VueServlet has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:406)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:426)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:160)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:182)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:208)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:283)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:835)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:225)
Caused by: java.lang.UnsupportedClassVersionError: UnsupportedClassVersionError: Class com.cimmetry.servlet.VueServlet has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.5.0_22
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:691)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at com.sun.enterprise.deployment.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:186)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:405)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:813)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:794)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:365)
... 10 more

Steps to Reproduce:

  1. Create VueServlet.war and AutoVueWS.war file using JDK 1.5.0_22  (use the jar cvf command)
  2. Attempt to deploy both created war files in GlassFish 2.1 and the above errors with be displayed

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