Package com.sun.org.apache.xml.internal.security.utils.Base64 does not exist

后端 未结 3 817
时光说笑
时光说笑 2020-12-06 17:25

I am using NetBeans 7.0.1 and JDK 1.6 Update 24 and when importing the package com.sun.org.apache.xml.internal.security.utils.Base64 to encode a password hash:<

3条回答
  •  太阳男子
    2020-12-06 17:51

    With org.apache.commons.codec.binary.Base64 use the specific method (such as Base64.encodeBase64String() for example) to replace Base64.encode

提交回复
热议问题