Create a JavaWeb project (Java Enterprise --> web)
Tool preparation
- Tomcat
- IDEA
Other ways to create JavaWeb projects
Solve various garbled problems in Tomcat
1. Start IDEA
2. Select Java Enterprise to create a JavaWeb project
You don’t need to configure tomcat here first, you can configure it later.
3. Configure Maven and enter setting (optional to omit)
4. Delete webapp and add web
To delete webapp,
you can use webapp directly. For detailed methods, please refer to >>> https://blog.csdn.net/s17856147699/article/details/128914767
Here we will delete webapp and use web
to add web
Creation completed