Invalid class file format... major.minor version '49.0' is too recent ...

I am using the Eclipse 3.1 and Oracel BPEL designer 0.9.13
After I created a new BPEL process (named: trybpel), I got the following output in the console:
uildfile: D:\eclipse\workspace\trybpel\build.xml
main:
[bpelc] 正在验证 "D:\eclipse\workspace\trybpel\trybpel.bpel" ...
[bpelc] error: Invalid class file format in D:\Java\jre1.5.0\lib\rt.jar(java/lang/Object.class). The major.minor version '49.0' is too recent for this tool to understand.
[bpelc] error: Class java.lang.Object not found in class com.collaxa.cube.engine.core.BaseCubeProcess.
[bpelc] 2 errors
BUILD FAILED: D:\eclipse\workspace\trybpel\build.xml:28: ORABPEL-01005
Total time: 8 seconds
I am puzzled with the information in bold. Would anyone tell me how to fix this problem? Thank you very much.

the same error ORABPEL-01005, but not the same error message,
Errors occurred when compile the bpel process using bpel designer for Eclipse:
(com.oracle.bpel.designer_0.9.13)
using PM: bpel_jboss_101200
More error infomation following:
Buildfile: E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml
main:
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: Invalid expression statement.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:835: ';' expected.
[bpelc] retun true;
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:208: Method setPartneLinkBinding(com.collaxa.cube.rm.suitcase.PartnerLinkBindingDescriptor) not found in class com.collaxa.cube.engine.types.bpel.CXPartnerLink.
[bpelc] __pl.setPartneLinkBinding(getProcessDescriptor().getPartnerLinkBindings().getPartnerLinkBinding(__pl.getName()));
[bpelc] ^
[bpelc] E:\OraBpelDEclipse3.2\workspace\AboutTest\temp\bpelc762.tmp\BPEL-INF\src\bpel\p0\BPEL_BIN.java:584: Undefined variable: __ctx
[bpelc] __setOutgoingLinks(__sc, __ctx);
[bpelc] ^
[bpelc] 4 errors
BUILD FAILED
E:\OraBpelDEclipse3.2\workspace\AboutTest\build.xml:28: ORABPEL-01005
Error in java files auto-generated when compiling ,why?
Thanks!

Similar Messages

  • Help - Invalid Class File Format

    Got the following error when I was trying to load a JSP that imports a servlet class:
    2001-08-12 03:17:12 - Ctx( /guestbook ): JasperException: R( /guestbook + /Guest
    Book.jsp + null) Unable to compile class for JSPerror: Invalid class file format
    : C:\tomcat\jakarta-tomcat-3.2.1\webapps\guestbook\WEB-INF\classes\com\zen\guest
    book\GuestBook.class, wrong version: 46, expected 45
    C:\tomcat\jakarta-tomcat-3.2.1\work\localhost_8080%2Fguestbook\_0002fGuestBook_0
    002ejspGuestBook_jsp_6.java:14: Class com.zen.guestbook.GuestBook not found in i
    mport.
    import com.zen.guestbook.GuestBook;
    2 errors
    Apparently the GuestBook class is found but for some reason it couldn't be loaded/compiled by Jasper. Anybody has a clue about the "wrong version" error? Thanks a lot.

    I started with JDK1.4, switched back to JDK1.3 after seeing the error but it didn't help.
    The first line of installation.html says:
    "Tomcat will operate under any Java Development Kit (JDK) environment that provides a JDK 1.1, JDK 1.2 (also known as Java2 Standard Edition, or J2SE) or later platform" - so I assume I don't have to go back to JDK1.2?
    Thanks.

  • Determine the Java Class File Major & Minor Version

    Did anyone tried to look at the Major & Minor version of a specific java class file.
    Our server is running in version 1.3. We are including a third party class file, I like to check before our production move, whether the file is compiled is <= Jdk1.3.
    Thanks in Advance.

    // 1) Download Jakarta BCEL
    // 2) compile this class
    import org.apache.bcel.classfile.*;
    public class Main
         public static void main(String[] args) throws Exception
              printClassVersion("c:\\foo.jar", "com/foo/Bar.class");
         public static void printClassVersion(String jarfile, String classfile) throws Exception
              ClassParser cp = new ClassParser(jarfile, classfile);
              JavaClass clazz1 = cp.parse();
              System.out.println(jarfile);
              System.out.println("Major: " + clazz1.getMajor());
              System.out.println("Minor: " + clazz1.getMinor());
    }

  • Unsupported class file format of version 48.0.

    Hi,
    I am new to Java Card. I have a problem to convert a class file to cap file. When I try to convert it, I got this message " unsupported class file format of version 48.0." Do you guys know any idea about it?

    The class file version is determined by the used java compiler (javac).
    The old Java Card development kit 2.1.2 was designed to work only with javac of the jsdk1.3 the current development kit 2.2.1 needs jsdk 1.4.
    In both cases you can not use jdk1.5 for compiling you java files.
    Jan

  • Error (Unsupported major.minor version 49.0)  in Servlet - Tomcat 4.1

    Hello,
    I have got below error when i have run web application with JSP,Servlet,beans:
    I have used Tomacat 4.1, 5.0 and 5.9.No change ???
    I am using j2sdk1.4.2_03 and j2re1.4.2_03.
    This is the complete project i want to run in my PC
    when i extract .war file and run on my PC it's generate below error :
    This is urgent For me . PLEASE HELP
    ERROR :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:672)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.UnsupportedClassVersionError: com/innovapark/soar/jsp/index_jsp (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1679)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:968)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1409)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:885)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/4.1.30
    Thank You
    Neon

    Solved
    Just do these things.... If you initially complied your classes in jdk1.5 and if u r trying to run the same in 1.4.2 or other.. The already compiled classes will be expecting jdk 1.5 JRE for their runtime execution. So what u have to do is......
    1.stop ur sever
    2.delete the work directory in tomcat
    3.Delete the work directory in your projects web-app Folder
    4.Now cleann the project... Build... and Run Again ... . It should work...
    if still it dont , i prefer use only jdk1.4.2 on system.. set enviorment variebles for it...Reinstall tomcat .. and do above mentioned steps ,,, This should solve the problem...
    Message was edited by:
    sunildm4u

  • Packaging Wizard - Compile Jsp ! unsupported major.minor.version

    Hi!
    I did follow the "Building Offline Mobile Web Applications Using BC4J" Tutorial
    http://download-uk.oracle.com/docs/cd/B19188_01/doc/B15920/nvbc4jtu.htm#CACHIGCG
    using jdev904.
    Everything goes straight until I reach 20.3.5
    I can't compile the jsp-Files in the Packaging Wizard.
    The conversion from jsp -to java-Files is successfull, but the next step
    (compiling them to class-Files) fails.
    It does'nt matter what the JAVA_HOME-Environment is set ( 1.4.x or 1.5)
    the error is always
    java.lang.UnsupportedClassVersionError: sun/tools/javac/Main (Unsupported major.minor version 49.0)
    ava.lang.UnsupportedClassVersionError: sun/tools/javac/Main (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)
         at oracle.jsp.tools.Jspc.javaCompile(Jspc.java:882)
         at oracle.jsp.tools.Jspc.translate(Jspc.java:217)
         at oracle.lite.web.xml.JupDevApp.doJSPCompiling(Unknown Source)
         at oracle.lite.web.xml.JupDevApp.compileJsps(Unknown Source)
         at oracle.lite.web.pack.JupFilePanel$JSPDlg.doJspCompile(Unknown Source)
         at oracle.lite.web.pack.JupFilePanel$JSPDlg.access$400(Unknown Source)
         at oracle.lite.web.pack.JupFilePanel$14.run(Unknown Source)
    Thanx for any hint !

    After cleaning up all different java-Installations
    and additionally setting USER-Environment-Variable JAVA_HOME
    i was able to compile!

  • ODI to MSSQL - Unsupported major.minor version

    I have created my MSSQL Dataserver, and the connection tests good, but I am unable to create a Physical Schema.
    When I try I get the follow error(s)
    java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (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)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.frame.b.jz.dP(jz.java)
         at com.sunopsis.graphical.frame.b.jz.bD(jz.java)
         at com.sunopsis.graphical.frame.bo.bz(bo.java)
         at com.sunopsis.graphical.frame.b.jz.em(jz.java)
         at com.sunopsis.graphical.frame.b.jz.<init>(jz.java)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at com.sunopsis.graphical.frame.bb.b(bb.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Unknown Source)
    I have tried using sqljdbc4.jar and sqljdbc.jar, when I use 4 the error lists the bad version as 50.0, but it is the same other than that.

    ODI_JAVA_HOME = C:\Program Files\Java\jre1.6.0_06
    Test connection: JRE version 1.6 is not supported by this driver. Use the sqljdbc4.jar class
    Ok, I changed sqljdbc.jar - sqljdbc4.jar.
    JDBC: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL: jdbc:sqlserver://<host>:1433; databaseName=DB
    Test connection:
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host <host>, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".
    May be incorrect connection' parameters?

  • Jdbc tutorial Unsupported major.minor version 51.0

    i am trying tolearn from this tutorial: [http://download.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html|http://download.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html]
    i did evrything up to 11. step (please read it)
    when i try this
    C:\JDBC Tutorial>ant runct
    Buildfile: C:\JDBC Tutorial\build.xml
    runct:
    [java] java.lang.UnsupportedClassVersionError: com/oracle/tutorial/jdbc/Cof
    feesTable : Unsupported major.minor version 51.0
    [java] at java.lang.ClassLoader.defineClass1(Native Method)
    [java] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
    .java:141)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    [java] at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [java] Could not find the main class: com.oracle.tutorial.jdbc.CoffeesTable
    . Program will exit.
    [java] Exception in thread "main"
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 1 second
    my java version is
    C:\JDBC Tutorial>java -version
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
    C:\JDBC Tutorial>javac -version
    javac 1.6.0_26
    in the mysql-build-properties.xml set this :
    <property name="JAVAC" value="C:\\Program Files\\Java\\jdk1.6.0_26\\bin\\javac.exe"/>
    <property name="JAVA" value="C:\\Program Files\\Java\\jdk1.6.0_26\\bin\\java.exe"/>
    is it possible to not set corectly the path? what's happening? how can i fix it?

    java.lang.UnsupportedClassVersionErrorThat would only happen if you have compiled a class with a compiler of version X and then attempt to run it with a VM that is before X.
    ant runctAnt is java. So it runs with a VM. It also uses a java compiler. Unless explicitly specified otherwise it is going to use the compiler that corresponds to the VM it is running under.

  • Unsupported major.minor version  exception in 10g IAS

    I have developed a simple web-app based on JSF/MyFaces. In it I have included a managed bean. Upon deploying and running this web-app to Oracle 10g AS I get the following exception:
    javax.faces.FacesException: uk/ac/ukbiobank/crms/infobean (Unsupported major.minor version 49.0)     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)     at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.servlet.ServletException: uk/ac/ukbiobank/crms/infobean (Unsupported major.minor version 49.0)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)     at helloWorld.jspService(_helloWorld.java:164)     [SRC:/helloWorld.jsp]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:253)     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)     ... 12 more
    I assumed that it was due to the java-compiler pointing at the wrong JDK so I made the necessary changes to the server.xml. However, this has not made ant difference.
    Has anybody else encountered this problem, and if so how did they fix it?
    Thanks in advance for any help.
    Angus

    I guess you have windows, and the environment path you can set through dialog of system settings. Right click 'my computer' and choose properties. Find the button for environment settings. Somewhere here you will see Oracle has added som reference to the 1.3 version. Adjust this so it works.
    Or, you can run the actual correct verssion of Java you would like from the commandline.
    Instead of running:
    c:\>java <Program name>try running by spesifying the correct java.exe path:
    C:\>c:\program files\java\jre 1.6.0_07\bin\java.exe <program name>Hope this will help
    - Roy

  • Java card - Unsupported class file format

    Friends,
    when im converting my class file to CAP file, im getting the message that "unsupported class file format of version 49.0". Can any one please help me out.
    Thank you,
    Harshavardhan

    but in the pre Requisites of Installing, its mentioned that "The supported SDK version is 1.4.1. ". and im using 1.5.0. So i need to use only 1.4.1 or earliar versions?

  • Error while installing Service Manager 4.1 (Unsupported major.minor version)

    Hi All,
    I have installed SMP 3.0 and I am installing Service Manager 4.1 on this server.
    I am folliwng the document - CRMSM41_Installation for installation of SM 4.1
    After installation , I configured the JavaBE.ini file and Agentry.ini. . This is the folder structure -
    When I tried to check the connection using ConnectTest.bat file I am getting the below error
    INI file: D:\SAP\MobilePlatform3\Server\configuration\com.sap.mobile.platform.se
    rver.agentry.application\JavaBE.ini
    *** Caught exception: com/syclo/agentry/Server : Unsupported major.minor version
    51.0
    release::releasing connection
    release::complete.
    Press any key to continue . . .
    At present I have JDK1.6.0_51,. Do I need to modify the Java version ?
    Please advise how to corect this issue
    Thanks and Regards
    Neha Mahanty

    Hi Bill,
    Yes after the correct JDK the connection test was successful. I will now deploy the application in the server. I need to go through the deployment steps to proceed further.
    The connection test looks like -
    INI file: D:\SAP\MobilePlatform3\Server\configuration\com.sap.mobile.platform.se rver.agentry.application\JavaBE.ini
    Encoding: ASCII
    reading user credentials from [SERVICE_LOGON] section
    connecting as...
    clientNum=100
    sysNum=01
    host=<My Host Name>
    name=sycloadm
    openCustomConnection::begin
    *** Caught exception: null
    release::releasing connection
    closeConnection::begin
    release::complete.
    Press any key to continue . . .
    Thanks
    Neha

  • Error (Unsupported major.minor version 49.0) in Servlet - Tomcat 5.0.19

    Hello,
    I am completely new to developing java web applications and I dealing with some very strange behavior. I am simply trying to run tomcat through a tomcat plugin for debugging purposes. When I start tomcat via the command line my application runs fine. When I start tomcat via the eclipse plugin, the server starts without any errors, however when I try to access certain pages via web browser I receive the error
    javax.servlet.ServletException: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
         java.lang.ClassLoader.defineClass0(Native Method)
         java.lang.ClassLoader.defineClass(Unknown Source)
         java.security.SecureClassLoader.defineClass(Unknown Source)
         java.net.URLClassLoader.defineClass(Unknown Source)
         java.net.URLClassLoader.access$100(Unknown Source)
         java.net.URLClassLoader$1.run(Unknown Source)
         java.security.AccessController.doPrivileged(Native Method)
         java.net.URLClassLoader.findClass(Unknown Source)
         org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520)
         org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
         org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756)
         java.lang.ClassLoader.loadClassInternal(Unknown Source)
         java.lang.Class.forName0(Native Method)
         java.lang.Class.forName(Unknown Source)
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.doesModernCompilerExist(CompilerAdapterFactory.java:174)
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:132)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:969)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:390)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
         org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    I realize this is occurring due to java version issues however I cannot understand why simply running tomcat via the eclipse plugin causes this since the jvm settings all appear to be correct

    I'm seeing exactly the same thing with Tomcat 4.1 ---also new to Java, no idea how to go about fixing this.
    However, since you posted this in August and nobody has responded, it's not clear that this forum is going to be much use.
    Sigh

  • Recent changes to the class file format?

    I have the JVM Spec, 2nd ed., on my desk. I'm trying to find out about changes to the class file format since its publication, i.e. what are the differences between class file versions 46.0, 47.0 and 48.0?
    So far, searching the JDC and the web hasn't helped. Does a document describing the changes exist?

    I have not found a list of changes, but the 2nd edition is at
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html
    Clarifications and Amendments to The Java Language Specification at http://java.sun.com/docs/books/jls/clarify.html has a section
    "Compilation of Symbolic References"
    that is useful.
    http://forum.java.sun.com/thread.jsp?forum=31&thread=27569
    says:
    javac v1.4 emits by default Java 1.2 compatible .class files while
    all javac implementations since between 1.1.0 and 1.3.1 emit byte
    default Java 1.1 .class files.
    Check to see what effect using the -target option in javac to get
    the two versions to produce Java 1.1, 1.2, or 1.3 .class files.
    discusses using javac -target to generate
    -Christopher

  • Different JDK problems: Unsupported major minor version

    We have a very large application, with a client that runs on a PDA and a client (and server) that will run on a normal desktop computer...
    These clients use partially the same code, and partially specific code.
    For the PDA-client we're bound to Creme (it's something like jdk 1.3) and for the Desktop-client we want to go to JDK 6.
    Now I'm getting the error Unsupported major minor version 50 insteadof 47...
    What would be the best solution to this problem?
    - Should I try to split all common files (increasing the amount of code and the maintenance to the code)
    - Or should I keep the commonfiles compiled with JDK 1.4.2 (adding another necessary JDK, a lot of checkstyle complaints, and not the ability to use the new Java-functionality like generics etc...
    - Or is there a better way?
    Any help would be grately appreciated :)

    by reading the documentation.
    You have your system set up wrong. This is common with people who don't read the documentation.
    If after reading the documentation you still can't get it to work, try the search option.
    The answer to your question has been supplied dozens, nay hundreds, of times already and is easy to find.
    If you still can't get it, find something else to do, like labelling mail for advertising campaigns.

  • UnsupportedClassVersionError Unsupported major minor version 50.

    I installed Java 1.6 in C:\Program Files\Java\jdk1.6.0. I am able to compile a java files from the command prompt but when I try to run a java file I get the following error "UnsupportedClassVersionError Unsupported major minor version 50."
    I am able compile and run the same file when I use TextPad.
    I ran the command java -version and it tells me java version "1.3.1_01"
    Java<TM> 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot<TM> Client VM (build 1.3.1_01, mixed mode).
    I have set the class_path to C:\Program Files\Java\jdk1.6.0\bin.
    How can I resolve this issue and shouldn't the java version be 1.6.0?
    Thanks.
    Sami

    Hi Friends,
    Is there any to solve my problem. Till now i'm enable to resolve my problem.... MY PROBLEM IS : In my system, the same error as above
    Pls send solutions to it..
    Thanks
    Charan

Maybe you are looking for

  • Auto login from other site

    Hi there, There are 2 websites with different database connections and login settings, which uses both the same database. One website is used (among other) to administer the other website, for example adding documents etc. The login on website2 is on

  • Save point with POJO DataControl not saving model state

    Hi Guys, JDEV 11.1.1.6 64bit I was able to get save points working with ADF BC (AppMod, View & Entity objects) but when I tried to do the exact same with Pojo DataControls, I won't save the current state of the model - meaning things are not "selecte

  • Adobe Premiere Pro CC no longer works

    In (the) student (version) of Premiere Pro CC via the (Creative Cloud) app. on (It) installed, but every time (I try to launch) the program, to Adobe Premiere Pro CC no longer works. Other apps do work. Message was edited by: Kevin Monahan Reason: tr

  • Is symbian belle update available for C7 Or E6 soo...

    Is symbian belle update available for C7 Or E6 soon Shady Shams SHASHOsun Solved! Go to Solution.

  • Hotsync automatica​lly starts on my Palm when not docked!

    I have a 700P treo on verizon.  Some months ago, I installed a beta version of Palm Backup from the my Palm store.  It didn't work well, so I deleted it from the programs on the Palm. Now, my palm automatically starts Hotsync without me doing anythin