My Oracle Support Banner

Custom Login Page JSP is not compiling fine, How to locate the required JAR files for avoiding the compilation errors on missing classes ? (Doc ID 1679283.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Access Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Goal

We got a custom login page for OAM 11gR2PS2.

But the login.jsp is not compiling well when we try to access it, we get the following errors like:

  

Compilation of JSP File '/pages/login.jsp' failed:
--------------------------------------------------------------------------------

login.jsp:9:18: The import oracle.security.am.pbl cannot be resolved
<%@ page import="oracle.security.am.pbl.util.LocaleHandler" %>
                ^---------------------------------------^
login.jsp:19:3: oracle.security.am.pbl cannot be resolved
 oracle.security.am.pbl.transport.http.proxy.ServletCatalog.registerServlet("/pages/login.jsp", this);
 ^-------------------^
login.jsp:44:25: LocaleHandler cannot be resolved
 Object[] langValues = LocaleHandler.getLocaleForDefaultLoginPage(request, response);
                       ^----------^
login.jsp:56:28: LocaleHandler cannot be resolved
String userLanguageList = LocaleHandler.getUserLangList();
                          ^----------^

...

  


How can we fix these errors ?

How can we locate the necessary JAR files for a proper compilation of the JSP page and thus to avoid these compilation errors message type ?

 

Solution

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
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.