Tomcat does not publish the jar package added by Maven dependency when publishing the project
Solution:
eclipse project right click -> properties -> Deployment Assembly -> Add -> Java Build Path Entries -> select Maven Dependencies -> Apply -> Finish -> it’s OK
This will publish the corresponding Maven dependencies to tomcat, and tomcat will be able to find the dependencies
Special case: tomcat service (Servers) has more than one project, will also report such an error, the project does not need to start to remove can be