shzlw / poli

An easy-to-use BI server built for SQL lovers. Power data analysis in SQL and gain faster business insights.
https://shzlw.github.io/poli
MIT License
1.97k stars 330 forks source link

Creating a war file instead of a stanalone jar #61

Open roncking opened 4 years ago

roncking commented 4 years ago

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 4 years ago

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.

portalguru commented 3 years ago

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.