IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

WebApps Getting Unsupported major.minor version 52.0 (unable to load class contexts.GXBasicContext)

  • 1.  WebApps Getting Unsupported major.minor version 52.0 (unable to load class contexts.GXBasicContext)

    Posted Fri May 15, 2015 05:34 PM

    Applinx 9.7 Designer

    Apache Tomcat 5.5.30

    java version 1.7.0_17

    The above are components that come with Applinx 9.7.

    I generated a web application and tried to run it from tomcat via http://localhost:8080/pipapx. I get the following error:

    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:489)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    root cause
    javax.servlet.ServletException: contexts/GXBasicContext : Unsupported major.minor version 52.0 (unable to load class contexts.GXBasicContext)
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:53)
    com.sabratec.j2ee.framework.web.GXJspServlet.service(GXJspServlet.java:51)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    Can someone advise?

    Thanks.


    #Mainframe-Integration
    #ApplinX
    #webMethods


  • 2.  RE: WebApps Getting Unsupported major.minor version 52.0 (unable to load class contexts.GXBasicContext)

    Posted Sun May 17, 2015 05:30 AM

    Looks like you have some mismatch in the Java versions you’re using to compile and run the project.
    Without more information I would guess that the webapp was created and compiled using Java 8 in Eclipse while you use Java 1.7 to run the tomcat server.

    Regards,
    Gadi


    #Mainframe-Integration
    #webMethods
    #ApplinX


  • 3.  RE: WebApps Getting Unsupported major.minor version 52.0 (unable to load class contexts.GXBasicContext)

    Posted Wed December 21, 2016 06:15 PM