TomCat launched by Idea gives 404 to http://localhost:8080/ 关注
TomCat launched by Idea gives 404 to http://localhost:8080/
At the same time, if I start Tomcat manually (\bin\startup.bat), http://localhost:8080/ displays the home page of Tomcat.
Attachments: Upload id: 2023_03_21_Rnn6ar3domnPRJioSE6FdG (files: catalina.2023-03-21 started manually.log, catalina.2023-03-21 started by Idea.log)
IntelliJ IDEA 2022.2 (Ultimate Edition)
Build #IU-222.3345.118, built on July 26, 2022
Runtime version: 17.0.3+7-b469.32 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Please check my answer at https://stackoverflow.com/a/42688676/104891.
If it doesn't help, share your project at https://uploads.jetbrains.com. Specify Tomcat version you are using.