Search code examples
javatomcatdeploymentproject

How can i deploy java project in tomcat?


I got java project, that can scheduling the task. It will print every job that has been done on logging. How can i deploy on my local (maybe with tomcat) and and view logs for each work that has been done by it?

Im using Spring Boot. I created Executeable JAR file and how can i deploy it? without IDE..


Solution

  • if you have web dependency on class path you get tomcat support along with it so you could just run following command on console

    java -jar yourjarfilename.jar