找不到jdeps的MySQL连接器依赖性

时间:2019-01-17 13:18:25

标签: java mysql dependencies jdeps

我在查找MySQL连接器的JDEPS依赖项时遇到问题:mysql-connector-java-5.1.40-bin.jar 我想通过添加module-info.java使它成为一个显式模块 我的第一步是使用命令

jdeps --generate-module-info workMysql "mysql-connector-java-5.1.40-bin.jar"

但是我得到了错误

Missing dependence: workMysql\mysql.connector.java\module-info.java not                                                         
generated
Error: missing dependencies                                                                      
com.mysql.fabric.hibernate.FabricMultiTenantConnectionProvider->
org.hibernate.service.jdbc.connections.spi.MultiTenantConnectionProvider      
not found

com.mysql.jdbc.integration.c3p0.MysqlConnectionTester ->   
com.mchange.v2.c3p0.C3P0ProxyConnection not found

com.mysql.jdbc.integration.c3p0.MysqlConnectionTester ->   
com.mchange.v2.c3p0.QueryConnectionTester not found

com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter ->  
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter not found

com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker ->  
org.jboss.resource.adapter.jdbc.ValidConnectionChecker not found

com.mysql.jdbc.log.Slf4JLogger -> org.slf4j.Logger not found
com.mysql.jdbc.log.Slf4JLogger -> org.slf4j.LoggerFactory not found

我不明白为什么会丢失它们,因为.jar是访问MySQL所需的全部内容,并且在通过eclipse编译时可以运行。

有什么想法吗?

谢谢。

0 个答案:

没有答案