Nadimuthu T Member since 2014 31 posts
Posted: September 8, 2017
Last activity: October 16, 2018

Unable to generate the Library for SendEmail Utility.

Hi Team,

Below mentioned Error occuring for Genaration Library and Function. Its happened post 7.3 upgrade. The same code working fine in PRPC 7.2.2

Library Error:
Error(s) detected while generating java. Compiler reported: ----------
1. ERROR in /com/pegarules/generated/ (at line 543)
SMIMEgen.addSigner((PrivateKey)certKey, (X509Certificate)myCert, org.bouncycastle.mail.smime.SMIMESignedGenerator.DIGEST_SHA1, new org.bouncycastle.asn1.cms.AttributeTable(signedAttrs), null);
The method addSigner(PrivateKey, X509Certificate, String, AttributeTable, null) is undefined for the type SMIMESignedGenerator
2. ERROR in /com/pegarules/generated/ (at line 544)
The method addCertificatesAndCRLs(CertStore) is undefined for the type SMIMESignedGenerator
3. ERROR in /com/pegarules/generated/ (at line 548)
multipart = SMIMEgen.generate(message, "BC");
The method generate(MimeMessage) in the type SMIMESignedGenerator is not applicable for the arguments (MimeMessage, String)
4. ERROR in /com/pegarules/generated/ (at line 580)
The method addKeyTransRecipient(X509Certificate) is undefined for the type SMIMEEnvelopedGenerator
5. ERROR in /com/pegarules/generated/ (at line 585)
MimeBodyPart encryptedPart = encrypter.generate(message,
The method generate(MimeMessage, OutputEncryptor) in the type SMIMEEnvelopedGenerator is not applicable for the arguments (MimeMessage, String, String)
5 problems (5 errors)
Compile failed.
Library Name—
The Library failed to compile

Please help me on that.


**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn