Our application reads an jpg image from the file system using <cfimage>. it then tries to write the image to an Oracle 11g database using simple SQL to a field of type BLOB using the imageGetBlob(). This has been working for years until recently. We have updated to an earlier java version but don't know whether this is the problem.
CF version 11,0,15,311399
Java version 1.8.0_191
error: Caused by: java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec at com.sun.media.jai.codecimpl.JPEGImageEncoder.encode(JPEGImageEncoder.java:261)
UPDATE my-table SET SMALL_IMAGE = , MEDIUM_IMAGE = , LARGE_IMAGE = WHERE upc =
Some sites say that the above class has been deprecated in java 8 which makes sense as to why it's not found. My question is what to do about it because it appears that the imageGetBlob() function is somehow still tied to it. Any help is greatly appreciated.