shzlw/poli

Creating a war file instead of a stanalone jar

roncking opened this issue · 2 comments

How hard would it be to create a war instead of a jar? I want Poli to run along side other war files within a tomcat server.

shzlw commented

The application is mainly a spring boot app. I found two links on how to generate a war file for it.

  1. https://spring.io/guides/gs/convert-jar-to-war/
  2. https://www.baeldung.com/spring-boot-war-tomcat-deploy

I haven't tried them yet. It looks like you need to modify the java source and pom file accordingly and then build the war.

Hello,
I was trying to create a WAR file using the instructions provided on reference links you have shared earlier. But it seems like not working. It would be great, if you can share a working example for this issue.