Java.lang.ClassNotFoundException:org.apache.commons.dbcp.BasicDataSource
Workaround: Add the Missing jar package: Commons-collections-3.1.jar,commons-pool-1.3.jar,commons-dbcp.jar.
Note: Commons-pool and commons-dbcp have migrated to the new: Commons-pool2 and COMMONS-DBCP2, with the new can't solve the problem, so still use the old bar.
java.lang.unsupportedclassversionerror:com/mysql/jdbc/driver:unsupported Major.minor version 52.0 (Unable to load Class Com.mysql.jdbc.Driver)
Workaround: Add the Missing jar packages: Aspectjrt.jar and Mysql-connector-java.jar, unifying both the project and the compiled JDK version of the IDE.
Noclassdeffounderror:org/w3c/dom/elementtraversal
Workaround: Add the Missing jar package: Xml-apis, using the 1.4.01 version, the latest version used or will be error.
Spring + Maven +testng testing Common dependency package issues