Question
Accenture
IN
Last activity: 21 Feb 2022 3:33 EST
java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatException.
Error Occured during runtime, anyone faced the same earlier or have any idea on how to fix this. PS:- I dont have db access to check whether the class is present in prEngineclasses or not.
Anyother way to find or fix? Pega version using 8.4.4. The same java code is working in one environment whereas the same is throwing above error in my dev environment. Java code below:-
java.io.InputStream in = new java.io.ByteArrayInputStream(byteArray);
oLog.infoForced("lineone");
com.qoppa.word.WordDocument wd = new com.qoppa.word.WordDocument(in);
java.io.ByteArrayOutputStream out= new java.io.ByteArrayOutputStream() ;
oLog.infoForced("linetwo");
wd.saveAsPDF(out);
imported few related jars in server path as well still not working, Do I need to update server class path ? Exception occured before Linetwo