When configuring JOC analytics we're getting java.lang.UnsupportedClassVersionError

Issue

When configuring JOC analytics we’re getting “java.lang.UnsupportedClassVersionError”

javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=org/elasticsearch/common/logging/ESLoggerFactory, offset=6
[...]
Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=org/elasticsearch/common/logging/ESLoggerFactory, offset=6

Environment

  • CloudBees Jenkins Operations Center 1.6

Resolution

Analytics only works with java 7 (Elasticsearch has a dependency on java 7+).

Root Cause

Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 **bad major version**; class=org/elasticsearch/common/logging/ESLoggerFactory, offset=6

Bad major version usually means code was compiled using one version of java, however it is being run using a different version.

Have more questions? Submit a request

0 Comments

Article is closed for comments.