WebLogic 12.1.3 and Spring Boot 2.x

Update (10th Dec 2020): For Weblogic see my answer on stackoverflow.com

One of our clients uses WebLogic 12.1.3 and we built applications for them using Spring Boot 2.x. After a grueling all-nighter and without any luck on google, I learned hard way how to successfully deploy Spring Boot 2.x app on WebLogic 12.1.3

Let's get started….

Source Code

You can also download it from GitHub

Create a New Spring Boot Application


Open the application in your favorite IDE and follow along:

  • Change the Wls1213Application.java
  • Create a HelloWorldController
  • Add a weblogic.xml file
  • Update weblogic.xml
  • Update pom.xml
  • Build and Deploy on Weblogic 12.1.3
  • Validate

Most Common Exception

  • You will get the below exception if you have a JAR that is not compatible with WebLogic 12.1.3. It fails while reading module-info in Java 9 compatible jars.
<Error> <J2EE> <BEA-160228> <AppMerge failed to merge your application. If you are running AppMerge on the command-line, merge again with the -verbose option for more details. See the error message(s) below.>weblogic.utils.compiler.ToolFailureException

Have a wonderful time and keep coding!!!!