Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在此处下载:http: //www.mindrot.org/projects/jBCrypt/
现在我有一个 jbcrypt 文件,如何将它导入到我现有的 netbeans 项目中?
谷歌了一下,但找不到任何关于如何做到这一点的信息。
我正在使用IntelliJ Idea 2019,创建一个文件夹“BCrypt”,其中将包含该“BCrypt.java”文件。现在将该文件夹(包含该 BCrypt java 文件)复制并粘贴到您的项目源目录中,并进行以下更改。打开 BCrypt.java 文件并更改包 org.mindrot.jbcrypt;打包 BCrypt ;(这是代码的第一行)现在您可以使用 import 语句(import BCrypt;) 导入 BCrypt。这是我如何做到的图像,我希望这也适用于 Netbeans。