Unable to create an instance for the class which exists in imported .jar file
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.