Add MyBatis to pom.xml instead of reference libraries.