Puppetserver service fails to start with error (UnsupportedClassVersionError) at java.lang.ClassLoader/defineClass1 on Red Hat Satellite 6.

Solution Verified - Updated -

Issue

  • Puppetserver service fails to start on Red Hat Satellite with below error:

    Starting puppetserver Service 2025-02-21T09:50:07.548032+01:00 satellite.example.com puppetserver[1343108]: Execution error (UnsupportedClassVersionError) at java.lang.ClassLoader/defineClass1 (ClassLoader.java:-2).  2025-02-21T09:50:07.548032+01:00 satellite.example.com puppetserver[1343108]: com/puppetlabs/puppetserver/EnvironmentRegistry has been compiled by a more recent version of the Java Runtime 
    (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    

Environment

  • Red Hat Satellite 6.16
  • Red Hat Capsule 6.16

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content