tomcat configuration database connection pool, jdbc driver package can only be placed under common / lib, can not be placed separately under each project's WEB-INF / lib?
Only when placed in that location can it be loaded correctly, because that directory is where the TOMCAT's own repository files are, and when the connection pool loads JDBC, it is managed by the container, not by your program, so it is placed in your The project directory is useless.