My Oracle Support Banner

Receiving Class File Has Wrong Version 49.0, Should Be 48.0 When Running App (Doc ID 793127.1)

Last updated on FEBRUARY 13, 2024

Applies to:

Oracle Containers for J2EE - Version 9.0.4.0.0 and later
Information in this document applies to any platform.

Symptoms

When trying to run a JSP page on the standalone OC4J server following error occurs:

"bad class file: x.class class file has wrong version 49.0, should be 48.0"

The OC4J server uses the jdk 1.4.2 as java runtime.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.