Solve the problem of IDEA importing other's web project error:
Step 1: Click File first, then click Open to open your project file address, click OK.
Step 2: The project will report an error. It doesn't matter because your project path is not set, so click Project again as shown in the figure to set your project path.
Step 3: Choose your java, JDK version
Step 4: Click Modulesd, first click the minus sign to delete the existing project, and then click the plus sign again to add your project. The specific steps are as shown in the figure, and then don't forget to click Apply.
Step 5: Then click again, Libraries add the ja package needed in your project, the specific steps are shown in the figure.
Step 6: Then click Facets and select the WEB section. The specific method is also shown in the figure:
Step 7: Finally, click Artifacts to package the project. The specific steps are shown in the figure:
Step 8: Then refresh your project, don't let it report errors:
Step 9: After refreshing, click Add Config... to add your tomcat, as shown in the figure:
Step 10: After adding tomcat, choose your tomcat version.
The eleventh step: After selecting the version, click Deployment, and follow the figure below:
The twelfth step: After clicking the application, you can access the project after running the project. The following figure indicates success:
The fourteenth step: the
fifteenth step: the
sixteenth step: the
seventeenth step: the
eighteenth step: the
nineteenth step: the
twentieth step: the
twenty-first step: the
twenty-second step: the
twentieth Three steps:
twenty-fourth step: