注意:org.apache.ibatis.binding.BindingException: Type interface org.westos.dao.UserDao is not known to the MapperRegistry.
出现这个问题是因为配置文件不在资源目录中导致maven没有自动加载进来
<build>
<resources>
<resource>
<directory>src/main/resources</directory