문제

I have an application that worked perfectly up now! but now it raises No such a provider exception on this line of code:

Cipher.getInstance("AES/CBC/PKCS5Padding", "BC");

BouncyCastle is installed correctly and the strange thing is only in this application it creates Exception! in others it works at the same time on the same machine with the same JRE!!!

What is the problem?

도움이 되었습니까?

해결책

The Ubuntu software update system may have changed your Java configuration.

Use the -verbose flag to see if all classes are loaded from the location you expect.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top