Does IntelliJ come with a Tomcat container with it?
Answered
Hello, I have a maven project with a Web application using spring-boot framework. I can start my Web application on my localhost in IntelliJ, but not at command line. In command line, I should be able to start the web application with spring-boot:run, but it fails. And the error message seems like related with Tomcat.
Does IntelliJ have a built-in Tomcat container when i run inside IntelliJ, since I don't have any error message. At a terminal, however, I can't started the application successfully. How to configure Tomcat to work with my spring-boot application outside of IntelliJ?
Any info would be very helpful! I need to be able to run the application at a command line for deployment.
Please sign in to leave a comment.
IDE does not bundled any application servers.
What Run/Debug Configuration do you use for starting in IDE?
What error do you get when run it from command line?
Make sure you have all the needed dependencies configured for the Gradle project. Check related tutorials and a sample project (e.g. Spring Initializ) and https://spring.io/guides/gs/spring-boot/
My main class:
When I run "JnluQEWebStart" I received the following error message:
Please ask the question on a Spring Boot related forums. You will have better chance to get the answer which rather relates to the Spring Boot than to IDE functionality. See e.g. https://stackoverflow.com/a/50232382/2000323.