WebLogic 12.1.3 and Spring Boot 2.x
Sep 9, 2018 · 2 min read
One of our client uses WebLogic 12.1.3 and we built applications for them using Spring Boot 2.x. After 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
Lets get started….
Source Code
You can also download it from GitHub
Create a New Spring Boot Application

Open 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 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!!!!
