Summary of access plan after javaWeb project runs and deploys based on tomcat

Summary of access plan after javaWeb project runs and deploys based on tomcat

1. Demand background
  • Recently, I received an old project. This is a java+jsp project with no separation between front and back, so the front and back end codes are in one project. Therefore, the first problem to be faced when developing on this project is to start and run the project .
  • Introduction: Java Web is a technology stack that uses Java technology to solve related web and Internet fields. The web includes two parts: the web server and the web client. The application of Java on the client side includes Java Applet, but it is rarely used. The application of Java on the server side is very rich, such as Servlet, JSP, third-party framework and so on. Java technology has injected a powerful impetus into the development of the Web field.
    insert image description here
solution
  • 1. First, git pulls the project, and the simple operation will not be repeated here.

  • 2. After completion, use the IDEA editor to open it. After opening, it will automatically run maven. If it does not run, run maven manually.

  • 3. Find Add Configurations on the editor interface, click to open the pop-up window, add and run:
    Please add a picture description

  • 4. Find tomcat, select local, and click Finish.

Guess you like

Origin blog.csdn.net/qq_34917408/article/details/127904970