Spring Boot application doesn't work in WebLogic but works in Tomcat
(Doc ID 2235195.1)
Last updated on JULY 03, 2020
Applies to:Oracle WebLogic Server - Version 220.127.116.11.0 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 application.properties file in /WEB-INF/classes and it is defined in below spring boot document.
24.3 Application property files
SpringApplication will load properties from application.properties 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