My Oracle Support Banner

Spring Boot application doesn't work in WebLogic but works in Tomcat (Doc ID 2235195.1)

Last updated on JULY 06, 2021

Applies to:

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


Spring Boot application fails to start with below error:



Depending on the dependencies, weblogic spring boot expects an file in /WEB-INF/classes and it is defined in below spring boot document.

24.3 Application property files
SpringApplication will load properties from files in the following locations and add them to the Spring Environment:

A /config subdirectory of the current directory.
The current directory
A classpath /config package
The classpath root



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

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