问答详情
源自:2-3 用户业务逻辑接口和类

测试异常Class not found service.Impl.testUsersDAOImpl

Class not found service.Impl.testUsersDAOImpl

java.lang.ClassNotFoundException: service.Impl.testUsersDAOImpl

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

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

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

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

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

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

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

这个如何解决?测试结果即不显示红条,又不现实绿条

提问者:我是弱弱呀 2018-05-24 21:41

个回答

  • barry200890
    2018-05-24 22:33:06

    明显应该是没

    service.Impl.testUsersDAOImpl 这个类