4 Replies Latest reply on Apr 10, 2015 1:58 PM by marvin blubaugh

    EAP 6.2 java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

    marvin blubaugh Newbie


      I'm having a problem on EAP 6.2 .  The application in question uses a third party charting tools and runs fine on the developer's Windows machine with EAP 6 (through JBoss Developer Studio). However, when we deploy that application to an EAP 6.2 server on Red Hat Linux, and attempt to create a chart, we receive a "java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder" error. I've researched the issue online and found a reference to needing a path (path name="com/sun/image/codec/jpeg") in the sun.jdk module.xml. But, we've verified that this path already exists.


      Does anybody have any ideas what might be causing the problem? Unfortunately, I do not have the option of changing the charting tool.