22:52:28.983 [main] DEBUG org.apache.ibatis.logging.LogFactory - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile
22:52:29.076 [main] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
22:52:29.076 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Using VFS adapter org.apache.ibatis.io.DefaultVFS
22:52:29.077 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/E:/study/seckill/target/classes/main/java/org/seckill/entity
22:52:29.077 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/E:/study/seckill/target/classes/main/java/org/seckill/entity
22:52:29.186 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: Seckill.class
22:52:29.186 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: SuccessKilled.class
22:52:29.187 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Listing file:/E:/study/seckill/target/classes/main/java/org/seckill/entity
22:52:29.187 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Find JAR URL: file:/E:/study/seckill/target/classes/main/java/org/seckill/entity/Seckill.class
22:52:29.187 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Not a JAR: file:/E:/study/seckill/target/classes/main/java/org/seckill/entity/Seckill.class
22:52:29.188 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Reader entry: ����
空指针,看你的出错位置,应该是注入SeckillDao没成功,打印一下看看是不是null,如果是就去检查一下xml配置有没有注入进去。
DEBUG [main] - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.
DEBUG [main] - Class not found: org.jboss.vfs.VFS
DEBUG [main] - JBoss 6 VFS API is not available in this environment.
DEBUG [main] - Class not found: org.jboss.vfs.VirtualFile
DEBUG [main] - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
DEBUG [main] - Using VFS adapter org.apache.ibatis.io.DefaultVFS
DEBUG [main] - Find JAR URL: file:/D:/myeclipse_work/mybatishm19/bin/com/itheima/mybatis/po
DEBUG [main] - Not a JAR: file:/D:/myeclipse_work/mybatishm19/bin/com/itheima/mybatis/po
DEBUG [main] - Reader entry: User.class
DEBUG [main] - Reader entry: UserQueryVO.class
DEBUG [main] - Listing file:/D:/myeclipse_work/mybatishm19/bin/com/itheima/mybatis/po
DEBUG [main] - Find JAR URL: file:/D:/myeclipse_work/mybatishm19/bin/com/itheima/mybatis/po/User.class
DEBUG [main] - Not a JAR: file:/D:/myeclipse_work/mybatishm19/bin/com/itheima/mybatis/po/User.class
DEBUG [main] - Reader entry: ����
怎么回事?
大神,这个问题现在解决了吗?我也遇到这个问题了,一模一样的,是 JBoss 6 的原因吗?????
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VFS
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - JBoss 6 VFS API is not available in this environment.
22:52:29.075 [main] DEBUG org.apache.ibatis.io.ResolverUtil - Class not found: org.jboss.vfs.VirtualFile
22:52:29.076 [main] DEBUG org.apache.ibatis.io.ResolverUtil - VFS implementation org.apache.ibatis.io.JBoss6VFS is not valid in this environment.
我也报了这个问题,但是test没有问题,仅仅是日志报了,请问这是什么问题呢