How do I add spring boot dependencies to my intellij WAR

已回答

Hi

I need to run a spring boot rest api app on remote JBOSS, and I need to make sure that my war file has all the dependencies it needs.

It is a spring boot rest app ... so the boot part is adding a lot of the dependencies for me in the backend.

Is there an easy way to include all these dependencies in the WAR file using the IDE?

 

Thank you for your help.

0
正式评论

You can use provided features in Maven/Gradle support, see https://spring.io/guides/gs/convert-jar-to-war/

请先登录再写评论。