Suppose I collected a jar on a tutorial from off site spring.io . I have a folder with the tomcat application tomcat . How do I make the jar that I jar work under tomcat ? Just put it in the lib folder? Inside the jar need to specify some information about tomcat ?

    1 answer 1

    To run on tomcat you need to build war .

    https://spring.io/guides/gs/convert-jar-to-war/

    http://docs.spring.io/spring-boot/docs/current/reference/html/howto-traditional-deployment.html

    In principle, the spring has its own built-in tomcat and you can run the jar itself