Downgrade to MyBatis 3.2.2 as 3.2.3 does not work in OSGi.