Пакет org недоступен при импорте org.bouncycastle.JAVA

Программисты JAVA общаются здесь
Гость
Пакет org недоступен при импорте org.bouncycastle.

Сообщение Гость »


Я столкнулся с проблемой при попытке импортировать библиотеку Bouncy Castle в свой Java-проект. Несмотря на добавление библиотеки Bouncy Castle в мой проект, я получаю сообщение об ошибке «Организация пакета недоступна» при попытке импортировать определенные классы из библиотеки.

Код: Выделить всё

import org.bouncycastle.cert.*;

Код: Выделить всё

import org.bouncycastle.asn1.x500.X500Name;

Код: Выделить всё

import org.bouncycastle.asn1.x509.BasicConstraints;

Код: Выделить всё

import org.bouncycastle.asn1.x509.Extension;

Код: Выделить всё

import org.bouncycastle.asn1.x509.KeyUsage;
Steps I've taken:
  • Verified Bouncy Castle Library: I have downloaded the Bouncy Castle JAR file and added it to my project's classpath.
  • Checked for Library Compatibility: I have added the correct version of the Bouncy Castle library that should be compatible with my project.
  • Confirmed Build Path Configuration: I have properly configured the Bouncy Castle library in my project's build path and marked it as a dependency.
  • Checked IDE Specific Configuration: I am using [insert your IDE name] and have followed the necessary steps to configure the library. However, the issue persists.
  • Cleaned and Rebuilt: I have tried cleaning my project and rebuilding it, but it did not resolve the problem.
    Изображение


Источник: https://stackoverflow.com/questions/781 ... uncycastle

Вернуться в «JAVA»