Why am I getting package javax.crypto does not exist

前端 未结 3 398
我寻月下人不归
我寻月下人不归 2020-12-11 00:37

When I compile a class using javax.crypto.Mac I get this error message?

package javax.crypto does not exist

3条回答
  •  [愿得一人]
    2020-12-11 01:16

    Beware! This class is only included in the jdk from oracle. That means your program won;t be portable among different jdk (eg openjdk) It is preferable to use this lib externally, it can be downloaded from here

提交回复
热议问题