tianzhidao28 / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

运行生成的junit程序有异常 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.TypeNotPresentException: Type [unknown] not present
    at 
sun.reflect.annotation.TypeNotPresentExceptionProxy.generateException
(Unknown Source)
    at sun.reflect.annotation.AnnotationInvocationHandler.invoke
(Unknown Source)
    at $Proxy7.value(Unknown Source)
    at org.junit.internal.requests.ClassRequest.getRunnerClass
(ClassRequest.java:49)
    at org.junit.internal.requests.ClassRequest.getRunner
(ClassRequest.java:28)
    at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>
(JUnit4TestReference.java:26)
    at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>
(JUnit4TestClassReference.java:24)
    at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest
(JUnit4TestLoader.java:40)
    at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests
(JUnit4TestLoader.java:30)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:445)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)
Caused by: java.lang.NoClassDefFoundError: 
org/junit/runners/BlockJUnit4ClassRunner
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(Unknown 
Source)
    at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature
(Unknown Source)
    at sun.reflect.generics.tree.ClassTypeSignature.accept(Unknown 
Source)
    at sun.reflect.annotation.AnnotationParser.parseSig(Unknown 
Source)
    at sun.reflect.annotation.AnnotationParser.parseClassValue
(Unknown Source)
    at sun.reflect.annotation.AnnotationParser.parseMemberValue
(Unknown Source)
    at sun.reflect.annotation.AnnotationParser.parseAnnotation
(Unknown Source)
    at sun.reflect.annotation.AnnotationParser.parseAnnotations2
(Unknown Source)
    at sun.reflect.annotation.AnnotationParser.parseAnnotations
(Unknown Source)
    at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
    at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
    at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
    at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
    at java.lang.Class.getAnnotation(Unknown Source)
    at org.junit.internal.requests.ClassRequest.getRunnerClass
(ClassRequest.java:45)
    ... 9 more

Original issue reported on code.google.com by liuwg...@gmail.com on 10 Mar 2010 at 7:00

GoogleCodeExporter commented 9 years ago
与问题37报告重复

Original comment by bad...@gmail.com on 11 Mar 2010 at 6:26