Question

4
Replies
918
Views
Close popover
Sethuraman Raji (SethuramanR)
TTEC
Senior Developer
TTEC
IN
SethuramanR Member since 2015 7 posts
TTEC
Posted: July 12, 2016
Last activity: November 21, 2016
Closed

Unable to create an instance for the class which exists in imported .jar file

Hi,

     I have an requirement of running a Java program in Pega. For that, I have imported the .jar file of the dependent libraries into Pega and I have written the same code in the Java method of that activity.While running, it doesn't show any error but when I see the logger, it shows the PRRuntimeError. While checking the PegaRules log file , I came to know that it could not create an instance for the class which present in the library file. I have also tried generating the library using the library file which consists of the dependent libraries but it doesn't works too. So, Is there any other ways for getting this worked ?. Thanks in advance.

PS: I have attached the screenshots of my activity, Logger and Log file. 

 

***Updated by moderator: Lochan. Removed user added #helpme, Ask the Expert and SR Created tags. Apologies for confusion, shouldn't have been an end-user option.

Low-Code App Development Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.