报错部分:
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 Find JAR URL: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/ Not a JAR: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/ Reader entry: GroupMapper.class Reader entry: GroupMapper.xml Reader entry: PunchMapper.class Reader entry: PunchMapper.xml Reader entry: StaffMapper.class Reader entry: StaffMapper.xml Listing file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/ Find JAR URL: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/GroupMapper.class Not a JAR: file:/C:/Fancy/JavaProjects/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/myapp/WEB-INF/classes/com/app/mapper/GroupMapper.class Reader entry: ����
修改方向:
- 检查mapper中SQL语句以及id是否有重复或者有误;
- 在pom.xml中添加jboss的依赖;
org.jboss jboss-vfs 3.2.15.Final



