UnsupportedClassVersionError

Hi
I am trying to build a simple web service and a web service client using JAX-RPC. i am using sun application server. the web service is deployed in the server and i am able to open the WSDL file also using the browser. the web service client is also compiled with out any errors. but when i try to run the client program i get the following error -
Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/activaion/DataHandler (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.class$(Standa
dSOAPTypeMappings.java:64)
at com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.<init>(Standa
dSOAPTypeMappings.java:457)
at com.sun.xml.rpc.encoding.StandardTypeMappings.getSoap(StandardTypeMa
pings.java:33)
at com.sun.xml.rpc.client.BasicService.createSoapMappings(BasicService.
ava:190)
at com.sun.xml.rpc.client.BasicService.createStandardTypeMappingRegistr
(BasicService.java:167)
at math.MyFirstService_SerializerRegistry.getRegistry(MyFirstService_Se
ializerRegistry.java:24)
at math.MyFirstService_Impl.<init>(MyFirstService_Impl.java:24)
at math.MathClient.createProxy(MathClient.java:38)
at math.MathClient.main(MathClient.java:16)
i searched regarding this error and found that there could be some problem with the tools.jar file i.e some incompatibility in the jar file used by the server and the one used by the jdk. but the versions of my jdk and the version of jdk in the server both are same. how do i overcome this problem...

Probably you have compiled your java code with a recent jdk. But the application server, where you have deployed your application, uses an elder jdk.
To solve the problem you should specify the version of the target jdk when building your application. To do this on command line, use the -target option of javac. To do this on ant, use the target attribute of javac task.
Best regards...
Mert Nuhoglu

Similar Messages

  • AP 7.00 IPC VMC Log Error UnsupportedClassVersionError

    Greetings all!
    I've converted our IPC 4.0 java routines in preparation for our CRM 7.0 upgrade.
    I've uploaded the new JAR file, and configured the new routines in the /SAPCND/UEASS transaction, and finally cleared the IPC buffer.
    When we enter an order the result is an error in the IPC stating my routine has an UnsupportedClassVersionError and trhrows the following error in the VMC logs:
    Execution of function module SPC_CREATE_DOCUMENT failed
    --> java.lang.UnsupportedClassVersionError: com/osi/pricing/userexits/value/ZValue606 (Unsupported major.minor version 49.0)
    Any thoughts on what the problem is here?
    Regards,
    Tim

    Check the compiler (Java) version of the developer. Got to match the VMC allowed versions.
    Tip: Though Eclipse may require latest version to run, it can still compile and generate Class files with any Java version you require. Got to configure Eclipse.
    Easwar Ram

  • How do you fix UnsupportedClassVersionError

    I have created an application that will run on any computer with the JDK. I want to make it an executable file so that you don't have to have the JDK to run it. I downloaded a Native compiler that will compile your Java application into an executable. It asks you for two things: The directory with all your application's .java and .class files. It asks you to specify a main .class file. It comes with a few sample applications that you can compile. I am using the most simple one the hello world application. Here is the hello.java file
    public class hello
    static public void main(String args[])
    System.out.println("Hello, World!");
    Now, this file came in a directory with the files hello.class and hello.java. If I use the native compiler (Excelsior JET is it's name) and i specify the directory that contains the hello.class and hello.java file as the application's working directory, and Hello.class as the main class and then click test, the native compiler will run the hello world application just fine. After testing I can click compile and it will turn that application and to a hello.exe file that will run on any windows computer without a JDK. Now, if specify the information for my own Java application, (which would be it's working directory C:\Vocab\) and Vocab.class as the main class, the native compiler will not be able to test and certainly not compile it and it and will give me this output:
    The application has started with command line:
    java -cp C:\Vocab Vocab
    Exception in thread "main" java.lang.UnsupportedClassVersionError
    at java.lang.Void.<unknown>(Unknown Source)
    at java.lang.Void.<unknown>(Unknown Source)
    at java.lang.Void.<unknown>(Unknown Source)
    at java.lang.Void.<unknown>(Unknown Source)
    The application has terminated with exit code: 1
    You see the part that says java -cp C:\Vocab Vocab? If I type that into the command prompt, my application will run. So why wont it run here? I think the answer lies here:
    Before you begin
    Before using Excelsior JET to compile your Java application, make sure that the application runs properly on the reference implementation of the Java platform, such as Sun JRE 5.0.
    Ok that is in the help section that comes with Excelsior JET, the main compiler. Now back to that hello world application. As i mentioned before it comes with the hello.java and hello.class file. I can take that hello.java file and use either jGrasp, Netbeans, or go to the directory
    C:\Program Files\Java\jdk1.6.0\bin and use the javac.exe file to generate a hello.class file. Now if I take that hello.class file that was generated from the hello.java file that was in the hello world directory, and overwrite the hello.class file that came with the native compiler, I can try testing the compiler but i just get the same error that i get when trying to test/compile my own application. Let me clarify:
    hello.class that came with the compiler will test and compile
    hello.class that i made with jGrasp, Netbeans, or Javac will not test or compile.
    So what do I use to create the proper .class files that will test/compile?

    That means the box is having trouble communicating to the VOD servers. Please reseat the coax cord from both ends (the wall end and the box end). Once the coax cord is back on, reboot the box by unplugging power cord for 20 seconds then plugging back in. If you continue having problems with the VOD connectivity, please send me a private message so I can get your info directly.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Java.lang.UnsupportedClassVersionError with ADF and Websphere

    I'm trying to get an app running with ADF/Tomahawk/MyFaces/Facelets going on Websphere 6.0. However Websphere is running with a 1.4.2 JVM instead of 1.5 so I get an error when it comes to the ADF NavigationHandlerImpl which has been built with Java 1.5. Is there a Java 1.4 version of ADF faces I should have downloaded somewhere?
    Hints appreciated.
    Regards, Murray
    ==<logs below >=================================
    [5/4/06 13:15:47:816 GMT] 00000011 FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/4/06 13:15:48:236 GMT] 00000011 WebApp E LinkageError while defining class: oracle.adfinternal.view.faces.application.NavigationHandlerImpl
    Could not be defined due to: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
    This is often caused by having a class defined at multiple
    locations within the classloader hierarchy. Other potential causes
    include compiling against an older or newer version of the class
    that has an incompatible method signature.
    Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    ==>[0]
    com.ibm.ws.classloader.CompoundClassLoader@7d4e3ab9
    Local ClassPath: C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\classes;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\activation-1.0.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-facelets.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-api-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\adf-faces-impl-ea20-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\aui.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\common-annotations.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-beanutils-1.7.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-codec-1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-collections-3.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-digester-1.6.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-el-1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-fileupload-1.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-io-1.2.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-lang-2.1.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\commons-logging-1.0.4.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\el-ri.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsf-facelets1014.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jsp-api.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\jstl-1.1.0.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\log4j-1.2.13.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-impl-files.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-interfaces.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\mob-layer-standalone.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-api-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\myfaces-impl-1.1.3-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\portlet.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\serializer.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\tomahawk-1.1.2-SNAPSHOT.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xalan.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xercesImpl.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xml-apis.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xpp3_min-1.1.3.4.O.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-1.1.3.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war\WEB-INF\lib\xstream-with-attributes.jar;C:\apps\WebSphere60\profiles\default\installedApps\localhostNode01Cell\aui_war.ear\aui.war;
    Delegation Mode: PARENT_FIRST
    [1] com.ibm.ws.classloader.JarClassLoader@630356666 Local Classpath: Delegation mode: PARENT_FIRST
    [2] com.ibm.ws.classloader.ProtectionClassLoader@2333faba
    [3] com.ibm.ws.bootstrap.ExtClassLoader@7f427ab8
    [4] sun.misc.Launcher$AppClassLoader@7f4cbab8
    [5] sun.misc.Launcher$ExtClassLoader@7f30bab8
    ---Original exception---
    java.lang.UnsupportedClassVersionError: oracle/adfinternal/view/faces/application/NavigationHandlerImpl (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:414)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:260)
         at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:131)
         at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
         at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:521)
         at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:448)
         at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:131)
         at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
         at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
         at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)
         at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)
         at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)
         at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)
         at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:1678)
         at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

    Hi,
    you will have to compile the application with JDK 1.4 in this case. This should work for JSF and ADF Faces.
    Frank

  • EJB deployment aborted : UnsupportedClassVersionError

    Hi All,
    I am working on ejb project , i have created entity , session bean build it successfully. even i hv created EJB application Dc , which also deployed successfully. Then i createde webservice for session bean and tried to deploy , but deployment aborted and i am getting following error.
    Mar 12, 2008 3:31:49 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [ThreadDeploy Thread,5,main] INFO:
    004Additional log information about the deployment
    <!LOGHEADERSTART/>
    <!HELPManual modification of the header may cause parsing problem!/>
    <!LOGGINGVERSIONhttp://1.5.3.7186 - 630/>
    <!NAME[/usr/sap/J2E/JC00/SDM/program/log/sdmcl20080312081657.log]/>
    <!PATTERNhttp://sdmcl20080312081657.log/>
    <!FORMATTERcom.sap.tc.logging.TraceFormatter(%24d %s: %m)/>
    <!ENCODINGISO8859_1/>
    <!LOGHEADEREND/>
    Mar 12, 2008 1:46:58 PM Info:
    Starting deployment
    Mar 12, 2008 1:46:58 PM Info: Error handling strategy: OnErrorStop
    Mar 12, 2008 1:46:58 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Mar 12, 2008 1:46:58 PM Info: Update strategy: UpdateAllVersions
    Mar 12, 2008 1:46:58 PM Info: Starting deployment prerequisites:
    Mar 12, 2008 1:46:58 PM Info: Loading selected archives...
    Mar 12, 2008 1:46:58 PM Info: Loading archive '/usr/sap/J2E/JC00/SDM/program/temp/temp37374asianpaints.com~probsEA.ear'
    Mar 12, 2008 1:47:10 PM Info: Selected archives successfully loaded.
    Mar 12, 2008 1:47:10 PM Info: Actions per selected component:
    Mar 12, 2008 1:47:10 PM Info: Initial deployment: Selected development component 'probsEA'/'asianpaints.com'/'J2E_BODYSHOP_D'/'20080312153111' will be deployed.
    Mar 12, 2008 1:47:11 PM Info: Ending deployment prerequisites. All items are correct.
    Mar 12, 2008 1:47:11 PM Info: Saved current Engine state.
    Mar 12, 2008 1:47:11 PM Info: Starting: Initial deployment: Selected development component 'probsEA'/'asianpaints.com'/'J2E_BODYSHOP_D'/'20080312153111' will be deployed.
    Mar 12, 2008 1:47:11 PM Info: SDA to be deployed: /usr/sap/J2E/JC00/SDM/root/origin/asianpaints.com/probsEA/J2E_BODYSHOP_D/20080312153111/temp37374asianpaints.com~probsEA.ear
    Mar 12, 2008 1:47:11 PM Info: Software type of SDA: J2EE
    Mar 12, 2008 1:47:11 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Mar 12, 2008 1:47:14 PM Info: Begin of log messages of the target system:
    08/03/12 13:47:11 - ***********************************************************
    08/03/12 13:47:12 - Start updating EAR file...
    08/03/12 13:47:12 - start-up mode is lazy
    08/03/12 13:47:12 - EAR file updated successfully for 256ms.
    08/03/12 13:47:12 - Start deploying ...
    08/03/12 13:47:13 - EAR file uploaded to server for 391ms.
    08/03/12 13:47:14 - ERROR: Not deployed. Deploy Service returned ERROR:
    java.rmi.RemoteException: Cannot deploy application asianpaints.com/probsEA..
    Reason: Exception during generation of components of application asianpaints.com/probsEA in container EJBContainer.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application asianpaints.com/probsEA in container EJBContainer.
    at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554)
    at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application asianpaints.com/probsEA in container EJBContainer.
    at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:621)
    at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
    at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3139)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:539)
    ... 10 more
    Caused by: java.lang.UnsupportedClassVersionError: com/apil/Userdetails/UserdetailsBean (Unsupported major.minor version 50.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at com.sap.engine.frame.core.load.ResourceLoader.loadLocalClass(ResourceLoader.java:262)
    at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)
    at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:353)
    at com.sap.engine.services.ejb.deploy.xml.CMPParser.parseFields(CMPParser.java:116)
    at com.sap.engine.services.ejb.deploy.xml.EJBJarParser.parseXml(EJBJarParser.java:174)
    at com.sap.engine.services.ejb.deploy.xml.EJBJarParser.parseXml(EJBJarParser.java:97)
    at com.sap.engine.services.ejb.deploy.DeployAdmin.parseSingleJar(DeployAdmin.java:297)
    at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:247)
    at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2144)
    at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
    ... 16 more
    For detailed information see the log file of the Deploy Service.
    08/03/12 13:47:14 - ***********************************************************
    Mar 12, 2008 1:47:14 PM Info: End of log messages of the target system.
    Mar 12, 2008 1:47:14 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Mar 12, 2008 1:47:14 PM Error: Aborted: development component 'probsEA'/'asianpaints.com'/'J2E_BODYSHOP_D'/'20080312153111':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application asianpaints.com/probsEA..
    Reason: Exception during generation of components of application asianpaints.com/probsEA in container EJBContainer.; nested exception is:
    com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application asianpaints.com/probsEA in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Mar 12, 2008 1:47:27 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Mar 12, 2008 1:47:27 PM Error:
    At least one of the Deployments failed
    Please help me to resolve this issue
    Regards
    Ravi

    Hi
    see whether j2ee engine started or not?
    Hazrath

  • Java.lang.UnsupportedClassVersionError while using java mail api

    Hi Everybody ,
    I am new comer to this forum , and would like to be an active member.
    I am getting this error while trying to use the java mail api to send an email using smtp.
    The error is as follows :
    Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/mail/Message (Unsupported major.minor version 48.0)
    Can Anyone please tell where I am wrong.
    I am using the following code
    ==============================================================
    Properties props = new Properties();
    props.put("mail.smtp.host", "smtp.abc.com");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Optional : You can also set your custom headers in the Email if you Want
    msg.addHeader("MyHeaderName", "myHeaderValue");
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    ==============================================================

    Hi Philip ,
    Thanks for the prompt reply , I had installed oracle client services which overid my jdk1.4 installation with jdk1.3 and hence the error. I changed my classpath settings to point to jdk1.4 and it owrked properly.
    Thanks once again.
    regards,
    Rupesh Rajan

  • Java.lang.UnsupportedClassVersionError in Import Java Classes

    Hi,
    I have recently upgraded to Forms Developer 10g (10.1.2.3) and JDeveloper (10.1.3.4). I have recompiled my classes in JDeveloper, and when I go to Import them into my form I get
    Exception occurred: java.lang.UnsupportedClassVersionError: classes/eps/palms/pickup/client/ResultSpec (Unsupported major.minor version 49.0).
    Has anyone any clues as to how to resolve this?
    Thanks
    Margaret

    Yes, the new version of JDeveloper must have the compiler default set to 1.4 or 1.5. Enforce it to 1.3 if you want to use the Bean with the JInitiator.
    Francois

  • SGD Portlet - Failed to build using Ant - UnsupportedClassVersionError

    Hi,
    I've downloaded the Sun Secure Global Desktop portlet source code from here: https://portlet-repository.dev.java.net/public/Download.html and I'm trying to compile it using Ant.
    I have Ant 1.7.0 and I'm using JRE 1.4.2_15. For some reason, the Ant task fails. Using the -debug and -logfile options, it points to a VersionTask class error:
    Adding reference: ant.PropertyHelper
    Detected Java version: 1.4 in: C:\Program Files\Java\j2sdk1.4.2_15\jre
    Detected OS: Windows XP
    Adding reference: ant.ComponentHelper
    Setting ro project property: ant.file -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml
    Adding reference: ant.projectHelper
    Adding reference: ant.parsing.context
    Adding reference: ant.targets
    parsing buildfile C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml with URI = file:/C:/Documents%20and%20Settings/Administrator/My%20Documents/Projects/2007/Bell/Sun%20SGD/sgdportlet/build.xml
    Setting ro project property: ant.project.name -> SGD Portlet
    Adding reference: SGD Portlet
    Setting ro project property: ant.file.SGD Portlet -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml
    Project base dir set to: C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet
    +Target:
    +Target: all
    +Target: init
    +Target: version
    +Target: compile
    +Target: dist
    +Target: clean
    [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
    Setting project property: src -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\src
    Setting project property: build.top -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build
    Setting project property: build.webinf -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build\WEB-INF
    Setting project property: build.classes -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build\WEB-INF\classes
    Setting project property: dist -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\dist
    Setting project property: lib -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\lib
    Setting project property: web -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\web
    Setting project property: tools -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\tools
    Setting project property: webinf -> C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\web\WEB-INF
    Finding class com.tarantella.tools.ant.tasks.VersionTask
    Loaded from C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\lib\tarantella-tasks.jar com/tarantella/tools/ant/tasks/VersionTask.class
    BUILD FAILED
    C:\Documents and Settings\Administrator\My Documents\Projects\2007\Sun SGD\sgdportlet\build.xml:14: java.lang.UnsupportedClassVersionError: com/tarantella/tools/ant/tasks/VersionTask (Unsupported major.minor version 50.0)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115)
    I know this portlet code was just released this week, but has anybody had any success building the portlet into a .WAR file?
    Thanks in advance!
    Rob.

    I figured it out... the tarantella-tasks.jar file had class files in it that were compiled using jdk 6, and the rest of the project was compiled using jdk 1.4.2. Luckily, the source code was there so that I could recompile the classes back to 1.4.2 and it now works.

  • Java.lang.UnsupportedClassVersionError: per/model/mac/Hrxss_Per_Subtype_Inf

    Hi,
    I have copied the essper application from inactive dc's and changed the visibility property to be derived dynamically depending on the subtype being displayed. After having deployed the essper, I am getting the java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6.
    My compiler compliance level is 1.4 and I am deploying the applications using jdk1.4. Could you please assist?
    Root Cause:
    The initial exception that caused the request to fail, was:
       java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:252)
        at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
        at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
        at com.sap.engine.frame.core.load.ReferencedLoader.loadRefClass(ReferencedLoader.java:573)
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.hr.per.za.family.overview.VcPerFamilyZaOverview. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:141)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:747)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:315)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 57 more
    Caused by: java.lang.UnsupportedClassVersionError: (com/sap/xss/per/model/mac/Hrxss_Per_Subtype_Info) bad major version at offset=6
         at java.lang.ClassLoader.defineClassImpl(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:252)
         at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
         at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadRefClass(ReferencedLoader.java:573)
         at com.sap.engine.core.classload.impl0.LoaderInfo.loadClassByReference(LoaderInfo.java:34)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClassByReference(ReferencedLoader.java:301)
         at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:119)
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
         at java.lang.Class.forNameImpl(Native Method)
         at java.lang.Class.forName(Class.java:119)
         at com.sap.xss.hr.per.za.family.overview.wdp.InternalVcPerFamilyZaOverview.<init>(InternalVcPerFamilyZaOverview.java:47)
         ... 62 more
    Thanking you in advance.
    Kind regards,
    Nkonzo

    hi,
    you may get some idea from below lines
    I changed the compiler complience level to 1.4 and deployed the application using jdk1.4. However the error was still there. When basis team checked the development config for PCUI_GP, it was sitting on SP03 which they then updated and the problem was fixed. Now I am getting a java.lang.UnsupportedClassVersionError on a different wd componet.
    Thanks !
    seventyros
    http://learnsaponline.blogspot.com

  • Java.nio package Runtime error java.lang.UnsupportedClassVersionError.

    Hi
    I am using nio package and create a java program for file locking (FileLocking.java).
    Here is the sample
    try {
    file = new File("C:/acc.txt");
    channel = new RandomAccessFile(file, "rw").getChannel();
         lock = channel.lock(0, Long.MAX_VALUE, true);
    try {
              lock = channel.tryLock(0, Long.MAX_VALUE, true);
    catch (OverlappingFileLockException e) {
    return true;
    using wsad 5.1 and jdk1.4 i compiled this program.
    While executing i got the following runtime error..
    java.lang.UnsupportedClassVersionError: FileLocking (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:703)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
         at java.net.URLClassLoader.access$400(URLClassLoader.java:92)
         at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:238)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:441)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
    Exception in thread "main"
    Even if i try to recompile it in command prompt and run, i got the same error.
    please suggest me how can i overcome this problem.

    UnsupportedClassVersionError means that you are trying to execute a class for a newer version of the JVM on an older version of the JVM.
    Version 48.0 is for Java 1.4, so you have compiled your class with JDK 1.4.
    The computer you are trying to run the class on, has an older version of Java than 1.4 - check it!
    Try recompiling your source files with the "-target" switch, for example if you're running on Java 1.3, try compiling with:
    javac -target 1.3 ... FileLocking.java

  • UnsupportedClassVersionError in WASD

    I am creating a simple java project in WASD (WebSphere Studio Application Developer Version: 5.1.1 )
    but just changing compiler compliance level to 1.4 from 1.3 .
    when I run a class it gives me UnsupportedClassVersionError
    I don't know what is the problem ?
    pls help

    Having same problem as mentioned in this thread only getting it when try to run the demo webDynpro apps provided with NWDS. 
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
    After 3 installs now with different JDK's last was JDK 1_5_15  ..  can't find update 12 anywhere as perscribed in earlier threads.  Anyone figure out a way to resolve this without have to play shell games with JDK's.  Speaking from new SAP Netweaver Guy considering jumping from ledge.
    Thanks.

  • Exception in thread "main" java.lang.UnsupportedClassVersionError:

    when i run javac its works fine.when i run java.exe the problem occurs.my jre and other java package is a part of the file that i downloaded from sun.com. i tried to reinstall but i doesn`t help.
    Exception in thread "main" java.lang.UnsupportedClassVersionError: NullPointer (Unsupported major.min
    or version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    plz help..

    Hi,
    I had the same problem. I got the sam advice about the 'two versions' story.
    I was running java programs for Java 1.5 under Win ME (please don't laugh). I then I upgraded to XP. I re-installed Java 1.5. Suddenlu those same programs that were running under ME won't run under XP. Getting the same message as above.
    I only had 1 (one) Java version installed. That was Jave 1.5
    The funny thing is that jsp pages that I created under ME still worked fine under XP without me doing anything to them
    I un-installed Jave 1.5, re-install it and what do you know? Everything is fine now?
    It's a strange, strange world we program in, Master Jack (taken from a hit song in the late 60's in SA - need I say more?)
    Phlip

  • JDBC error : UnsupportedClassVersionError:Bad version number in .class file

    Hi All,
    I am currently working with PI 7.1 on an Idoc ->XI->JDBC scenario. The DB being used in our case is SQL 2008. We have successfully installed the JDBC driver provided by MS. When the message reached the JDBC the following error is listed in RWB.
    JDBC Message processing failed, due to Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: UnsupportedClassVersionError: Bad version number in .class file
    We tried reinstalling the JDBC drivers as well , but to no avail.. .
    Any idea on why this could happen ?
    Regards,
    Sandeep

    Hi Mallikarjun,
        Are you getting this error for only specific channel or all channels?
    If you are getting this for all channels check your drivers of they are installed correctly....
    if it is for specific channel then try increasing JDBC thread count and in restart the channel...
    Regards,
    Naveen

  • Newbie error - UnsupportedClassVersionError:  How to fix ?

    Hi,
    I am getting started with Spring Frame work and encountering this error -
    java.lang.UnsupportedClassVersionError: org/springframework/web/servlet/DispatcherServlet (Unsupported major.minor version 47.0)
    How can I resolve it.?
    Help would be much appreciated.
    Thanks
    Ru

    Thank you !!
    I realized I had an active JDK 1.2. Now getting it upgraded to 1.4
    Thanks again for the replies.
    Ru

  • Java.lang.UnsupportedClassVersionError: - Please do help !

    Hi,
    I am trying to run the following program. I am using Windows XP and using
    java version "1.4.2_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
    public class OutFirstProgram {
    public static void main(String[] args) {
    System.out.println("Krakatoa, EAST of Java??");
    I am geting the following error:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: OutFirstProgr
    am (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    I looked up some of the discussion in the forums they had mentioned try
    "javac OutFirstProgram.java - source 1.4 - target 1.4", I tried the same but still in vain.
    The code I took it from one of the boook, but when I literally type on the editor and then run the program it works perfectly fine and the complete program is the same, i did not change anaything, but why is there is change. I am not able to undetstand the reason, could somebody throw light on this and also let me know to solve the problem.
    PK

    Hi,
    Thanks. I tried the following and it worked:
    javac -source 1.4 -target - 1.4 OutFirstProgram.java
    But, I am compiling the source code using the same machine and same location and also running it from the same location and machine, so how can the change be. Also my java version provides this output, which says they both are same right:
    java version "1.4.2_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
    I am not clear why is this problem happening.
    It would be nice if you could provide me a way by this can be solved permanently not providing source and target and each and every time I run the program.
    PK

Maybe you are looking for

  • Compiling all video used in a project

    i know there is a process to compile a copy of stuff used in a project. i have a huge project that has files all over the place ( 5 different hard drives) - does this process make a duplicate of each file in your project and place things all in one f

  • Who wants to be a moderator for LiveDocs 2.0?

    As some of you may have heard, we're doing something quite a bit different this cycle with documentation. The changes can be summarized as community, community, and community: - inclusion of links to external websites (like yours!) in Help - inclusio

  • Cleared noted item vendor

    hiii.. need helpp... can i cleared noted item using F-53? if it can't.. how can it be clear? thx

  • How to open multiple folders and read file?

    Hello, I try to use this bridge script. The script work very well for me but some times I have multiple folders. Now script work that: 1. Read file in folder 2. Save text file and show me popup with full quadrature http://forums.adobe.com/message/399

  • Cant open Premiere Pro trial

    I have downloaded the trial of Premiere Pro but I don't know how to open it. There is a file on my desktop called "Premiere Pro" but it is full of many documents and none merely open the program? There is a "Setup" file which just leads me back to re