Since the jar that maven depends on is not placed in the compilation directory, the container cannot be started
Sometimes adding and modifying pom.xml is prone to this problem
java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext
org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]