Exception:BillMapper is not known to the MapperRegistry
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.
Class not found: org.jboss.vfs.VFS
JBoss 6 VFS API is not available in this environment.
Class not found: org.jboss.vfs.VirtualFile
VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
Using VFS adapter org.apache.ibatis.io.DefaultVFS
PooledDataSource forcefully closed/removed all connections.
PooledDataSource forcefully closed/removed all connections.
PooledDataSource forcefully closed/removed all connections.
PooledDataSource forcefully closed/removed all connections.
Exception in thread "main" org.apache.ibatis.binding.BindingException: Type interface top.thinkingspace.zhiqiang.mybatis.demo2.mapper.BillMapper is not known to the MapperRegistry.
at org.apache.ibatis.binding.MapperRegistry.getMapper(MapperRegistry.java:47)
at org.apache.ibatis.session.Configuration.getMapper(Configuration.java:779)
at org.apache.ibatis.session.defaults.DefaultSqlSession.getMapper(DefaultSqlSession.java:291)
at top.thinkingspace.zhiqiang.mybatis.demo2.service.BillMapperTest.main(BillMapperTest.java:14)
Process finished with exit code 1
解决:配置错误
参考文章1:https://blog.csdn.net/xb12369/article/details/53487698
参考文章2:https://blog.csdn.net/Ramelon/article/details/116493364