Many people encounter this error "failed to generate Wrapper class" after using weblogic to configure the connection pool ". This error is mainly caused by the JDBC driver.ProgramThere is a problem with the place where the data is stored.
In principle, the JDBC driver can be placed in the classpath path of the server, or in the JDK path, and there are multiple places on the WebLogic Server. However, I don't know if it is a bug in weblogic. When using the connection pool, I cannot just put the JDBC driver. It must be placed under C:/BEA/user_projects/domains/base_domain/lib, c:/Bea is the installation path, and base_domain is the name of the domain I configured.
If an error occurs at the beginning of this article, delete the JDBC driver from other locations and only keep the driver under base_domain/lib.
Note: You need to restart the server.