我已将JDK从1.6更改为JDK1.8.0_121。但是当我运行cmd作业时,我得到以下异常。
WRAPPED EXCEPTION (Depth 1): java.security.NoSuchAlgorithmException: algorithm RSA/ECB/PKCS1Padding is not available from provider Cryptix
END WRAPPED EXCEPTION (Depth 1)
at dd.tech.crypto.CryptoManagerImpl.encrypt(CryptoManagerImpl.java:385)
at dd.tech.crypto.CryptoManagerImpl.encrypt(CryptoManagerImpl.java:408)
at dd.proserv.app.partner.thd.supplychain.docconversion.SCLTXMLCreator.encrypt(SCLTXMLCreator.java:2956)
at dd.proserv.app.partner.thd.supplychain.docconversion.SCLTXMLCreator.addPaymentItemDataToMap(SCLTXMLCreator.java:1198)
at dd.proserv.app.partner.thd.supplychain.docconversion.LoadXMLData.endElementAction(LoadXMLData.java:274)
at dd.sharelib.impexp.docconversion.XMLFileParserBase.endElement(XMLFileParserBase.java:138)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2967)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
我添加了 Unlimited Strength Java(TM)密码术 Java(TM)平台的扩展(JCE)策略文件,标准版 版本(Java SE)运行时环境8 到jre / lib / security但仍然存在相同的异常。 感谢您的帮助。