Spring Boot application doesn't work in WebLogic but works in Tomcat
Last updated on FEBRUARY 21, 2017
Applies to:Oracle WebLogic Server - Version 22.214.171.124.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
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