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

**URL:** <https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [May 15, 2015, 9:33pm UTC](https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967 "2015-05-15T21:33:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Min\_Chai1](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@Min\_Chai1](https://techcommunity.softwareag.com/u/Min_Chai1)\
**Post date:** [May 15, 2015, 9:33pm UTC](https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967/1 "2015-05-15T21:33:57Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Gadi](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/gadi/32/16051_2.png) [@Gadi](https://techcommunity.softwareag.com/u/Gadi)\
**Post date:** [May 17, 2015, 9:29am UTC](https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967/2 "2015-05-17T09:29:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jose\_Rodriguez2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/jose_rodriguez2/32/1270_2.png) [@Jose\_Rodriguez2](https://techcommunity.softwareag.com/u/Jose_Rodriguez2)\
**Post date:** [December 21, 2016, 11:15pm UTC](https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967/3 "2016-12-21T23:15:19Z")

</div>

Nice!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:33pm UTC](https://techcommunity.softwareag.com/t/webapps-getting-unsupported-major-minor-version-52-0-unable-to-load-class-contexts-gxbasiccontext/181967/4 "2021-04-02T15:33:26Z")

</div>


