java - NoClassDefFoundError: class sun.awt.image.ByteInterleavedRaster -


i getting error:

noclassdeffounderror: not initialize class sun.awt.image.byteinterleavedraster 

what trying achieve?

i generating pdf file using itext calls getheader method sets header logo pdf file.

suddenly, facing following exception & have no idea referring to.

exception

javax.servlet.servletexception: java.lang.noclassdeffounderror: not initialize class sun.awt.image.byteinterleavedraster     org.apache.struts.actions.dispatchaction.dispatchmethod(dispatchaction.java:295)     org.apache.struts.actions.dispatchaction.execute(dispatchaction.java:170)     org.apache.struts.action.requestprocessor.processactionperform(requestprocessor.java:425)     org.apache.struts.action.requestprocessor.process(requestprocessor.java:228)     org.apache.struts.action.actionservlet.process(actionservlet.java:1913)     org.apache.struts.action.actionservlet.dopost(actionservlet.java:462)     javax.servlet.http.httpservlet.service(httpservlet.java:647)     javax.servlet.http.httpservlet.service(httpservlet.java:728) 

root cause

java.lang.noclassdeffounderror: not initialize class sun.awt.image.byteinterleavedraster     java.awt.image.raster.createwritableraster(raster.java:980)     java.awt.image.raster.createwritableraster(raster.java:941)     javax.imageio.imagetypespecifier.createbufferedimage(imagetypespecifier.java:1073)     javax.imageio.imagereader.getdestination(imagereader.java:2896)     com.sun.imageio.plugins.png.pngimagereader.readimage(pngimagereader.java:1280)     com.sun.imageio.plugins.png.pngimagereader.read(pngimagereader.java:1577)     javax.imageio.imageio.read(imageio.java:1448)     javax.imageio.imageio.read(imageio.java:1308)     com.appraisal.utility.methods.getheader(methods.java:498)     com.appraisal.process.reviewletteraction.viewletter(reviewletteraction.java:1276)     sun.reflect.nativemethodaccessorimpl.invoke0(native method)     sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     java.lang.reflect.method.invoke(method.java:606)     org.apache.struts.actions.dispatchaction.dispatchmethod(dispatchaction.java:269)     org.apache.struts.actions.dispatchaction.execute(dispatchaction.java:170)     org.apache.struts.action.requestprocessor.processactionperform(requestprocessor.java:425)     org.apache.struts.action.requestprocessor.process(requestprocessor.java:228)     org.apache.struts.action.actionservlet.process(actionservlet.java:1913)     org.apache.struts.action.actionservlet.dopost(actionservlet.java:462)     javax.servlet.http.httpservlet.service(httpservlet.java:647)     javax.servlet.http.httpservlet.service(httpservlet.java:728) 


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -