mysql-connector-java 5.1.13,無法找到文件mysql-connector-java-5.1.13-bin.jar

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 16:00   1694   0

當我嘗試運行netbeans站點https://netbeans.org/projects/samples/downloads/download/samples/javaee/dvdstoree6.zip時,我嘗試運行sakila數據庫示例。

i have some problem showing following in my n output windows of NetBeans 7.3.Beta2

我在NetBeans的n個輸出窗口中顯示了一些問題。

ant -f "C:\\Users\\unknown\\Documents\\DVDStoreEE6 (1)"

-DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true run init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: C:\Users\unknown\Documents\DVDStoreEE6 (1)\nbproject\build-impl.xml:995: Warning: Could not find file C:\Applications\NetBeans\NetBeans Dev

201107270600.app\Contents\Resources\NetBeans\ide\modules\ext\mysql-connector-java-5.1.13-bin.jar to copy. BUILD FAILED (total time: 0 seconds)

Can any one guide me why this problem is occurring?

有誰能告訴我為什么這個問題會發生?

2 个解决方案

#1

1

You need to download mysql-connector-java-5.1.13-bin.jar and then set your classpath. here the link to download

您需要下載mysql-connector-java-5.1.13-bin。jar,然后設置類路徑。這里是下載鏈接。

#2

0

In case if you have already included the 'mysql-connector-java' jar file and are still facing the same error like me, here is what you can do. When the error is displayed in the output window click on the blue link that is displayed. Eg:

如果您已經包含了“mysql-connector-java”jar文件,並且仍然面臨着與我相同的錯誤,下面是您可以做的事情。當輸出窗口中顯示錯誤時,單擊顯示的藍色鏈接。例如:

C:\Users\Username\NetbeansProjects\ProjectName\nbproject\build-impl.xml

Within that remove the below line,

在此刪除下面一行,

Hope this helps.

希望這個有幫助。

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP