Java Exception x509Certificate - " ResourceReader"丢失/无法加载证书

时间:2016-10-27 22:37:14

标签: java netbeans x509certificate

Java NetBeans - Java的新手,我试图让一个旧应用程序工作,所以我可以用C#镜像它(我选择的lang)...尝试导入证书...不确定我是什么& #39; m miss ...我在哪里可以找到" ResourceReader"?因为我似乎无法弄清楚这是否是我需要的东西?另外......我得到一个errror读取文件(可能与ResourceReader有关?)I searched here,但不确定哪一个是我之后的那个(如果有的话)。我在" Windows 7"。

上使用NetBeans重新创建了这个
Exception in thread "main" java.security.cert.CertificateException: Missing input stream
    at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:93)
    at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)
    at doccentertestingencryption.EncryptData.initSecurity(EncryptData.java:103)
    at doccentertestingencryption.EncryptData.<init>(EncryptData.java:82)
    at doccentertestingencryption.DocCenterTestingEncryption.main(DocCenterTestingEncryption.java:31)
C:\Users\dbarry\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
BUILD FAILED (total time: 1 second)

我的错误是:

Template.templateName.onRendered(function{
    //fires when the template is rendered
    //initialize whatever here. here is a pickadate example

    $('.elementClass').pickadate({
        selectMonths: true,
        selectYears: true,
        min: new Date(),
        closeOnSelect: true,
        onSet: function(context) {
             var selected = moment(context.select).format('YYYY-MM-DD'));
            //do something with selected
        },
        onClose: function() {
            //BONUS: this will prevent a bug/issue 
            //when you go to another tab or page and come back 
            //it fires the pickadate that was closed again.
            //this might be a bug in materializeCSS only
            $(document.activeElement).blur(); 
        }
    });
});

0 个答案:

没有答案