Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363131

Summary: [JUnit] Unable to start test, NoClassDefFoundError for StoppedByUserException is thrown
Product: [Eclipse Project] JDT Reporter: Kostya <kos32>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 3.7Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Stack trace and command line none

Description Kostya CLA 2011-11-08 04:10:06 EST
Build Identifier: Indigo Release Build id: 20110615-0604

I've upgraded from 3.6 to 3.7. JUnit tests stop working.
See bug 329498, I have the same problem as Christian Holm described.



Reproducible: Always

Steps to Reproduce:
Not sure is it specific steps.
1. Install Eclipse 3.7, open project created in 3.6
2. Try to run any JUnit test, see console for error.
Comment 1 Kostya CLA 2011-11-08 04:11:02 EST
Created attachment 206568 [details]
Stack trace and command line
Comment 2 Markus Keller CLA 2011-11-08 11:48:04 EST
I can't reproduce.

This looks like your test project has a bad version of Unit 4 on the build path. All official JUnit 4 releases contain the StoppedByUserException class.

How is JUnit on your build path? Do you see the StoppedByUserException class in your workspace?
Comment 3 Kostya CLA 2011-11-09 07:26:25 EST
I've removed
[workspace]\.metadata 
[user_home]\.eclipse
[user_home]\.m2

Eclipse also was re-installed, rebuild application and issue is vanished. Closing as invalid, sorry.