My Oracle Support Banner

REST Services are Getting Failed to Invoke with Weblogic 12.2.1 (Doc ID 2122935.1)

Last updated on SEPTEMBER 13, 2021

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Customer has recently upgraded to Weblogic 12.2.1 and they are facing some issues with the REST Services which are build on spring framework.
The issue getting caused at run-time while accessing the rest related pages in the application. The REST Services are getting deployed but while trying to access they encounter the below issue.

WARN [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
org.springframework.web.servlet.PageNotFound No mapping found for HTTP request with URI [/xxx/xxx/xxx/]
in DispatcherServlet with name 'dispatcher' [noHandlerFound:1120 {xxx.xxxx.xxxx=xxx}]

Prior to Weblogic upgrade the same deployment was working fine without any issues (i.e. Weblogic 1213).

As the jar is placed in lib of application.xml which should be picked automatically. All the class files from this xxx.jar is picked except the REST API's

Customer added the required class files to rest war and things started working in WLS 12.2.1.

Changes

 

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
Changes
Cause
Solution
References


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