Note:ArticleThe content in [] is a variable. Please set it according to your actual situation. The content in "" is a reference to the text in the software.
1. Download 3 Software
2. Download tomcatplugin
3. Decompress tomcatplugin to [eclipse_home]/dropins, restart eclipse, and make sure that the small Tomcat icon appears on the toolbar.
4. Copy devloader.zip under eclipse_home/dropins/[tomcatplugin_home.zip to [tomcat_home]/lib, and change the suffix to jar.
5. Right-click [project] -- properties -- libraries and click Add variable to add the environment variable name: m2_repo, path: C:/users/[Windows username]/. m2/Repository.
6. right-click [project] -- properties -- tomcat, "is a tomcat project" check box, context name: "/[projectname]", subdirectory to set as Web application root select the webapp directory of the current project; then click the devloader classpath tab active devloader check box, all the packages used below are also selected, but test items must be excluded, such: /[project]/target/test-classes cannot be selected. Otherwise, an error is returned.
7. Now the environment is ready. Click the Tomcat icon to start the project!