【发布时间】:2012-03-20 04:52:21
【问题描述】:
我正在使用this 教程中的代码来使用 MXJ 在我的 Java 应用程序中“嵌入”MySQL。但是,我在运行代码时遇到了这个异常:
Exception in thread "main" java.util.MissingResourceException: Resource '5-5-9/Windows_7-amd64/mysqld.exe' not found
当我到达教程中的这一行时会发生这种情况:
mysqldResource.start("test-mysqld-thread", database_options);
我在 Eclipse 中运行,我在构建路径中添加了以下 4 个 jar,因为 this 链接说我需要它们:
mysql-connector-java-5.1.18-bin.jar
mysql-connector-mxj-gpl-5-0-12-db-files.jar
mysql-connector-mxj-gpl-5-0-12.jar
aspectjrt-1.6.9.jar
我不确定我在这里缺少什么。有什么建议吗?
【问题讨论】: