I'm facing issue while creating captcha using ColdFusion extension tag (cfx). And I'm getting the error message like com/sun/image/codec/jpeg/JPEGCodec. And I'm getting this issue in cf2021 server. My java version is 1.8. Anyone have any thoughts on this?
<cfx_captcha
        height="50"
        width = "100"
        background_image=""
        text="#client.word#"
        outfile="#result_dir#\#filename#.jpg"
        font="#listGetAt(fonts,randRange(1,listLen(fonts)))#"
        font_color="#listgetat(colors,randrange(1,10))#"
        fontsize="23"
        distortion_method="#randRange(1,3)#"
        font_opacity="100"
        quality="100"
        bgcolor1="eeeeee"
        bgcolor2="eeeeee">