!!COMPILATION ERROR(0) *.jsp as of release 1.5, 'enum' is a keyword, and may not be used as an identifier

(Doc ID 433477.1)

Last updated on AUGUST 08, 2016

Applies to:

Oracle Applications Technology Stack - Version 11.5.10.0 to 11.5.10.0 [Release 11.5]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

When users attempt login to eBusiness they observed the following error:

JSP Error:
Request URI:/OA_HTML/AppsLocalLogin.jsp
Exception:
java.lang.NoClassDefFoundError


The $COMMON_TOP/_pages/ojsperr.log file displays compilation errors similar to the following:

[21330] !!COMPILATION ERROR(0) csfwOrderPart.jsp:
_csfwOrderPart.java:1406: as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = request.getParameterNames();
^
_csfwOrderPart.java:1408: as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while(enum.hasMoreElements())
^
_csfwOrderPart.java:1410: as of release 1.5, 'enum' is a keyword, and may not be used as an
identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
String paramName = (String)enum.nextElement();
^

Changes

You have upgraded JDK to v1.5 as per <Note 304099.1> "Using J2SE Version 5.0 with Oracle E-Business Suite 11i"

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms