When my project started, it kept prompting that tomcat failed to start ~ and this error was reported at the same time.
After multiple inquiries were unsuccessful, I uninstalled and reinstalled the idea. Still, this problem.
In despair, I recall,
Before in order to deploy the project to tomcat. I believed a netizen's evil~~~, and pasted a file in tomcat into jdk.
So after reinstalling jdk, the project started successfully~~!