为了账号安全,请及时绑定邮箱和手机立即绑定

大神帮忙看看谢谢!

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: ����

http://img1.sycdn.imooc.com//577bcac00001538d12400331.jpg



正在回答

4 回答

空指针,看你的出错位置,应该是注入SeckillDao没成功,打印一下看看是不是null,如果是就去检查一下xml配置有没有注入进去。

0 回复 有任何疑惑可以回复我~

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: ����

怎么回事?

0 回复 有任何疑惑可以回复我~

大神,这个问题现在解决了吗?我也遇到这个问题了,一模一样的,是 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.


0 回复 有任何疑惑可以回复我~
#1

鬼球_ 提问者

和JBoss没关系,主要多查下配置文件和项目路径。
2017-07-11 回复 有任何疑惑可以回复我~

我也报了这个问题,但是test没有问题,仅仅是日志报了,请问这是什么问题呢

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

大神帮忙看看谢谢!

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信