I'm setting up mybatis using annotations, and getting this helpful exception
org.apache.ibatis.binding.BindingException: Type interface org.foo.Bar is not known to the MapperRegistry
Googling it doesn't find anything, nor the user guide. What am I missing?
just for anyone who ended up here because they're new to mybatis
http://www.mybatis.org/core/configuration.htmlhttp://www.mybatis.org/mybatis-3/configuration.html
in the config file mappers section
this will have you up and running with a config.xml and annotated interfaces