MyBatis shades javassist. Per copilot, I believe you need to setup GraalVM reflect-config.json and point to the shaded package instead. Its under 'org.apache.ibatis.javasist.*'. As it currently stands dev team behind Mybatis, which I'm part of, has been against not shading javassist and ognl due to historical conflicts. I'm not sure that will change.