OA Framework Pages Available In 11i Fail to Compile After 12.2 Upgrade Due To Missing Jar File For Class HttpServletRequest

(Doc ID 2073052.1)

Last updated on NOVEMBER 04, 2015

Applies to:

Oracle Applications Technology Stack - Version 12.2 to 12.2.5 [Release 12.2]
Oracle Applications Framework - Version 12.2 to 12.2.5 [Release 12.2]
Information in this document applies to any platform.

Goal

Where to find the jar file to include the class HttpServletRequest.

While upgrading from 11i to R12, OA Framework pages are failing to compile with the following errors:

HPHCURLGenerationUtils.java:4: error: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
                        ^
HPHCURLGenerationUtils.java:5: error: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
                        ^
HPHCURLGenerationUtils.java:16: error: cannot find symbol
 public String generateURL(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, WebAppsContext webappscontext, String s, String s1, String s2, int i,
                           ^
 symbol:   class HttpServletRequest
 location: class HPHCURLGenerationUtils
HPHCURLGenerationUtils.java:16: error: cannot find symbol
 public String generateURL(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, WebAppsContext webappscontext, String s, String s1, String s2, int i,
                                                                  ^
 symbol:   class HttpServletResponse
 location: class HPHCURLGenerationUtils

 

These pages compile fine in 11i Instance and only failing in R12.

Solution

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