|
From: SIMI M. P. S. <si...@di...> - 2014-09-05 11:50:44
|
Michael P. Schieferer schrieb am 05.09.2014 13:34:
________________________________
Hi!
When I try to "ant deploy" the current EJBCA CE 6.2.0 the build fails with the following:
cesecore-common.jar:
[mkdir] Created dir: /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/build/classes
[javac] Compiling 244 source files to /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/build/classes
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/certificates/ca/internal/CertificateValidity.java:207: error: incompatible types
[javac] final DERGeneralizedTime notBefore = pku.getNotBefore();
[javac] ^
[javac] required: DERGeneralizedTime
[javac] found: ASN1GeneralizedTime
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/certificates/ca/internal/CertificateValidity.java:227: error: incompatible types
[javac] final DERGeneralizedTime notAfter = pku.getNotAfter();
[javac] ^
[javac] required: DERGeneralizedTime
[javac] found: ASN1GeneralizedTime
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/certificates/certificate/certextensions/standard/SubjectKeyIdentifier.java:55: error: no suitable constructor found for SubjectKeyIdentifier(SubjectPublicKeyInfo)
[javac] return new org.bouncycastle.asn1.x509.SubjectKeyIdentifier(spki);
[javac] ^
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(ASN1OctetString) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to ASN1OctetString by method invocation conversion)
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(byte[]) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to byte[] by method invocation conversion)
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/certificates/util/cert/CrlExtensions.java:110: error: incompatible types
[javac] final DEREnumerated reasonCodeExtension = DEREnumerated.getInstance(X509ExtensionUtil.fromExtensionValue(extensionValue));
[javac] ^
[javac] required: DEREnumerated
[javac] found: ASN1Enumerated
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/util/CertTools.java:1663: error: no suitable constructor found for SubjectKeyIdentifier(SubjectPublicKeyInfo)
[javac] SubjectKeyIdentifier ski = new SubjectKeyIdentifier(spki);
[javac] ^
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(ASN1OctetString) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to ASN1OctetString by method invocation conversion)
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(byte[]) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to byte[] by method invocation conversion)
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/certificates/util/cert/SubjectDirAttrExtension.java:96: error: incompatible types
[javac] DERGeneralizedTime time = DERGeneralizedTime.getInstance(set.getObjectAt(0));
[javac] ^
[javac] required: DERGeneralizedTime
[javac] found: ASN1GeneralizedTime
[javac] /home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/src/org/cesecore/keys/util/KeyTools.java:892: error: no suitable constructor found for SubjectKeyIdentifier(SubjectPublicKeyInfo)
[javac] return new SubjectKeyIdentifier(new SubjectPublicKeyInfo(keyASN1Sequence));
[javac] ^
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(ASN1OctetString) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to ASN1OctetString by method invocation conversion)
[javac] constructor SubjectKeyIdentifier.SubjectKeyIdentifier(byte[]) is not applicable
[javac] (actual argument SubjectPublicKeyInfo cannot be converted to byte[] by method invocation conversion)
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
/home/pi/install/ejbca_ce_6_2_0/build.xml:965: The following error occurred while executing this line:
/home/pi/install/ejbca_ce_6_2_0/modules/build.xml:148: The following error occurred while executing this line:
/home/pi/install/ejbca_ce_6_2_0/modules/cesecore-common/build.xml:33: Compile failed; see the compiler error output for details.
Mit freundlichen Gr??en | Best Regards
Michael P. Schieferer
Stv. IT-Leitung
IT
[LOGO] Digital Elektronik Ges.m.b.H | Berchtesgadner Str. 10 | 5083 St. Leonhard / Salzburg | ?sterreich
phone: +43 (6246) 8966 - 617 | mobile: +43 (664) 5464026 | Fax: +43 (6246) 8966 - 10
E-Mail: si...@di...<mailto:si...@di...> | Web: http://www.digital-elektronik.com<http://www.digital-elektronik.com/>
Gesch?ftsf?hrer: Richard Auer | UID ATU34880803 | FN 66287g | DVR 0686778 | Gerichtsstand Salzburg
--
The information contained in this email is confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and my be unlawful. Please notify the sender immediately. Any opinion containing is those of the author and respresents not necesariliy the opinion of Digital Elektronik Ges.m.b.H.
Neither Digital Elektronik Ges.m.b.H nor the sender (Michael P. Schieferer) take responsibility for any viruses, although we check our mails with up-to-date virus scanner. It is incumbent on your responsibility to check the mail and its attachments.
Attachement(s)
Sent: 05.09.2014 13:34 by Michael P. Schieferer
________________________________
|