Mysql 驱动程序错误(泽西 Tomcat)
Mysql driver error (Jersey Tomcat)
我用 Tomcat 做了一个 Jersey maven 项目,现在我想把它连接到 Mysql 数据库。我转到 Data source explorer -> database connection -> new driver definition 但是当我选择 MySQL JDBC Driver 时,会出现此消息
Unable to locate JAR/zip in file system as specified by the driver definition: mysql-connector-java-4.0.0-bin.jar.
我认为应该依赖于 POM.xml 或类似的东西,我不知道 maven
在 Eclipse 中,我们需要从外部源添加 Jar 文件。与项目无关。
In the source explorer -> database connection -> new driver definition page select External jar file and select appropriate jar file for MySql.
希望对您有所帮助!
我用 Tomcat 做了一个 Jersey maven 项目,现在我想把它连接到 Mysql 数据库。我转到 Data source explorer -> database connection -> new driver definition 但是当我选择 MySQL JDBC Driver 时,会出现此消息
Unable to locate JAR/zip in file system as specified by the driver definition: mysql-connector-java-4.0.0-bin.jar.
我认为应该依赖于 POM.xml 或类似的东西,我不知道 maven
在 Eclipse 中,我们需要从外部源添加 Jar 文件。与项目无关。
In the source explorer -> database connection -> new driver definition page select External jar file and select appropriate jar file for MySql.
希望对您有所帮助!