Update Mybatis, clear build warnings, and fix dependency.