See the full stack trace.

java.lang.NoClassDefFoundError: org/apache/http/cookie/Cookie
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at 
org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:20)
        at 
org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:13)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
        at 
org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)
        at 
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)
        at 
org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
        at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException: org.apache.http.cookie.Cookie
        at java.net.URLClassLoader$1.run(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)
        ... 18 more


Le mardi 15 avril 2014 10:01:21 UTC+2, Marc R. Hoffmann a écrit :
> Ok. So can you please provide the full stack trace?
> 
> -marc
> 
> 
> 
> On 2014-04-15 09:55, [email protected] wrote:
> 
> > Le lundi 14 avril 2014 17:35:43 UTC+2, Marc R. Hoffmann a écrit :
> 
> >> Hi,
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> this mailing list is for the EclEmma Eclipse plugin and the JaCoCo 
> 
> >> code
> 
> >> 
> 
> >> coverage library (which is the library behind EclEmma since version
> 
> >> 
> 
> >> 2.0). If you're looking for the Emma project the project's site is
> 
> >> 
> 
> >> http://emma.sourceforge.net/
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> Otherwise can you please let us know what product are you using, which
> 
> >> 
> 
> >> version? Also a full stack trace might help.
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> Best regards,
> 
> >> 
> 
> >> -marc
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> On 14.04.14 10:16, [email protected] wrote:
> 
> >> 
> 
> >> > I use Emma pluging for code coverage in Android project. My tests are 
> >> > success when I running with JUnit but when I run with Emma I found an 
> >> > execption :
> 
> >> 
> 
> >> >
> 
> >> 
> 
> >> > java.lang.NoClassDefFoundError:org/apache/http/cookie/Cookie
> 
> >> 
> 
> >> >
> 
> >> 
> 
> >> > I 'm using Cookie in the class test but JUnit pass with success. I have 
> >> > the same problem with the BasicNameValuePair. Do I need to make some 
> >> > import? Does anyone have this problem ?
> 
> >> 
> 
> >> >
> 
> > Thanks for this quick response.
> 
> > Sorry , I misspoke. I have an Android project (using ADT IDE) and I
> 
> > want to use the plugin EclEmma ( EclEmma 2.3.0.201403192240) for
> 
> > Eclipse.
> 
> > I don't download .jar I had just install EclEmma  with Eclipse option.
> 
> > Like that Eclispe IDE >Help > Install new Software...
> 
> > 
> 
> > Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to