First of all, we in their own development projects
Right-click and choose
The Build Path,
Configue Build Path,
Find Modulepath,
The add library,
Server runtime,
Next,
Choose the tomcat,
Finish,
Finally, apply good,
We will see, the original error was gone
CodePudding user response:
Thanks for your selfless share