大神帮忙看看谢谢!

来源:4-8 DAO层单元测试编码和问题排查(上)

鬼球_

2016-07-05 22:21

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://img.mukewang.com/577bcac00001538d12400331.jpg



写回答 关注

4回答

  • qq_飞秒_0
    2016-07-06 20:34:03
    已采纳

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

  • 慕设计4716657
    2017-12-05 15:41:02

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

    怎么回事?

  • micksen
    2017-07-06 17:02:14

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


    鬼球_

    和JBoss没关系,主要多查下配置文件和项目路径。

    2017-07-11 10:06:34

    共 1 条回复 >

  • julian_208
    2016-08-08 16:02:00

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

Java高并发秒杀API之业务分析与DAO层

Java实现高并发秒杀API的第一门课,还等什么,赶快来加入吧

87424 学习 · 496 问题

查看课程

相似问题