Cannot run/debug jsp page from within IntelliJ using Tomcat server

前端 未结 2 1925
粉色の甜心
粉色の甜心 2021-01-12 20:11

I created a new project and created artifact for it. When I run Tomcat from command prompt and go to: http://localhost:8080/IntelProject1/index.jsp

I ca

相关标签:
2条回答
  • 2021-01-12 20:58

    Open Debug Configuration in IntelliJ IDEA and make sure that Deploy applications configured in Tomcat checkbox is checked as it shown on the screenshot.

    enter image description here

    0 讨论(0)
  • 2021-01-12 21:08

    For me it worked with:

    File >Project Structure >Artifacts

    In the

    Output Layout on the right side >"Available Elements?"

    right click on the available libraries ( for me it was "Spring MVC-4.2.4.RELEASE")

    Put into Lib

    And it worked.

    0 讨论(0)
提交回复
热议问题