java.lang.UnsupportedClassVersionError

com/openmarket/genrules/rule209/rule663/RuleClass1343224994145 : Unsupported major.minor version 51.0

Samebug tips4

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4832

  • via Oracle Community by HardikGupta, 1 year ago
    com/openmarket/genrules/rule209/rule663/RuleClass1343224994145 : Unsupported major.minor version 51.0
  • com/ui/Test : Unsupported major.minor version 51.0
  • via javahonk.com by Unknown author, 1 year ago
    com/controller/SpringMVCController : Unsupported major.minor version 51.0
  • Stack trace

    • java.lang.UnsupportedClassVersionError: com/openmarket/genrules/rule209/rule663/RuleClass1343224994145 : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at com.openmarket.visitor.rule.RuleClassHash$RuleLoader.loadClass(RuleClassHash.java:216) at com.openmarket.visitor.rule.RuleClassHash.loadRuleClass(RuleClassHash.java:95) at com.openmarket.visitor.rule.RuleClassFactory.loadRuleClass(RuleClassFactory.java:23) at com.openmarket.visitor.rule.RuleManager.loadRuleSet(RuleManager.java:790) at com.openmarket.visitor.rule.RuleManager.getRulesetClasses(RuleManager.java:985) at com.openmarket.visitor.objects.VisitorContext.addRulesets(VisitorContext.java:550) at com.openmarket.gator.commercecontext.CommerceContext.LoadRulesets(CommerceContext.java:315) at com.openmarket.gator.commercecontext.CommerceContext.setupEffectiveSegments(CommerceContext.java:478) at com.openmarket.gator.commercecontext.CommerceContext.setupEffectiveSegments(CommerceContext.java:428) at com.openmarket.gator.seed.CommerceContext.worker(CommerceContext.java:133) at com.openmarket.basic.seed.BaseSeed.doEndTag(BaseSeed.java:132) at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143) at org.apache.jsp.jsp.cs_005fdeployed.Utilities.Visitors.Actions.LoginRememberMeAction_jsp._jspx_meth_commercecontext_005fcalculatesegments_005f0(LoginRememberMeAction_jsp.java:616) at org.apache.jsp.jsp.cs_005fdeployed.Utilities.Visitors.Actions.LoginRememberMeAction_jsp._jspService(LoginRememberMeAction_jsp.java:377) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    198 more bugmates