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

执行单元测试报错,求解答

Class not found org.seckill.dao.SeckillDaoTest

java.lang.ClassNotFoundException: org.seckill.dao.SeckillDaoTest

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:685)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:421)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)


提问者:大宝他爹 2016-06-09 18:16

个回答

  • qq_蔭落凡塵_0
    2016-06-10 08:57:00
    已采纳

    SeckillDaoTest 类编译没通过吧

  • 慕粉3977564
    2016-09-12 23:04:31

    请问问题怎么解决的