【问题标题】:Could not find MySQL Connector in Netbeans在 Netbeans 中找不到 MySQL 连接器
【发布时间】:2019-07-29 02:23:53
【问题描述】:

我将我的网络项目从另一台笔记本电脑转移到另一台笔记本电脑。安装所需的每个 jar 文件。但是当我运行项目时,就会出现这个错误。

C:\Users\user\Desktop\Inventory\Inventory\nbproject\build-impl.xml:1013:
Warning: Could not find file G:\Downloads 
from Chrome\commons-fileupload-1.4-src.zip to copy.
BUILD FAILED (total time: 0 seconds)

我试过了:

Could not find file mysql-connector-java-5.1.13-bin.jar

我的库上安装了 mysql 连接器。所以我尝试了 Saumil 的回答。但我在build-impl.xml 中找不到这条线:

copyfiles files="${file.reference.org-netbeans-modules-db-mysql.jar}" 
todir="${build.web.dir}/WEB-INF/lib"

因此,由于我找不到 Saumil 在我的 build-impl.xml 中建议的行,我不知道如何解决这个问题。我不确定我应该删除哪一行来解决这个问题。

【问题讨论】:

  • 错误提示您正在使用路径“G:\Downloads from Chrome”中的“commons-fileupload”库,但在您的其他笔记本电脑中找不到它们。

标签: mysql web netbeans connector


【解决方案1】:

已修复。我所做的只是单击错误行上的蓝色链接,然后删除所有“copyfiles files”行并重新运行项目。谢谢:D

【讨论】:

    猜你喜欢
    • 2018-12-27
    • 2014-07-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多