Bug 363131 - [JUnit] Unable to start test, NoClassDefFoundError for StoppedByUserException is thrown
Summary: [JUnit] Unable to start test, NoClassDefFoundError for StoppedByUserException...
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-11-08 04:10 EST by Kostya CLA
Modified: 2011-11-09 07:26 EST (History)
2 users (show)

See Also:


Attachments
Stack trace and command line (2.29 KB, text/plain)
2011-11-08 04:11 EST, Kostya CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.