简体   繁体   中英

Database (mysql) connection is working but jdeveloper can't launch my application

I have a project here on JDeveloper 11.1.2.3.39.62.76.1). I've already done the Create Database Connection Wizard and everything is working fine, but when i try to launch my application this is what i get:

Caused By: weblogic.common.resourcepool.ResourceSystemException:
Cannot load driver class: com.mysql.jdbc.Driver     
   at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:301)
   at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:75)
   at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:131)
   at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:712)
   at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:235)

Does anyone can shed a light? I've already included the mysql connector jar.

您需要将mySQL的jdbc jar文件添加到嵌入式WebLogic lib目录中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM