Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7649053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:52:08+00:00 2026-05-31T10:52:08+00:00

I use Eclipse IDE: Eclipse Java EE IDE for Web Developers. Version: Indigo Release

  • 0

I use Eclipse IDE: Eclipse Java EE IDE for Web Developers. Version: Indigo Release

I use JUnit 4. For project properties> Java Build Path> Libraries: I have JUnit4 added. Also under the same tab: Maven Dependencies> I have junit-4.8.2.jar

In pom.xml I have:

<dependency>
  <groupId>junit</groupId>
  <artifactId>junit</artifactId>
  <version>4.8.2</version>
  <scope>test</scope>
</dependency>

Basically, I’m writing unit tests using JUnit in the past few months! All I needed to do was to create a test class, add a test method like below:

@Test
public void testMethod(){
    // Some test code
}

Right click on method, Run As> JUnit Test

That’s all I needed to do to either run my unit test or do Debug As> Junit Test to debug my unit test.

All was fine with the world! Starting yesterday, when I add a new test method in a class I already have and then do: Right click on method, Run As> JUnit Test

Nothing happens! I cannot run or debug any test anymore! Meaning I cannot add any new unit test!

Let me also add that I do a clean build thru Eclipse and Eclipse sees the newly complied class which contains my new test method.

Since none of my configurations changed, I have no idea what went wrong!

Does anybody has any idea? Any help would be greatly appreciated.

C:\Project>mvn eclipse:eclipse
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.2/maven-jar-plugin-2.3.2.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
gin/2.3.2/maven-jar-plugin-2.3.2.pom (6 KB at 10.9 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin
s/21/maven-plugins-21.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins
/21/maven-plugins-21.pom (13 KB at 27.8 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/20/mave
n-parent-20.pom
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/20/maven
-parent-20.pom (25 KB at 50.3 KB/sec)
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.2/maven-jar-plugin-2.3.2.jar
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plu
gin/2.3.2/maven-jar-plugin-2.3.2.jar (32 KB at 71.4 KB/sec)
[INFO]

[INFO] Building myProject 3.0

[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ myProject >>>
[WARNING] The artifact commons-email:commons-email:jar:1.1 has been relocated to
org.apache.commons:commons-email:jar:1.1
[INFO]
[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (default) @ myProject ---
[INFO] All schema objects are up to date.
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ myProject <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ myProject ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
[WARNING] While downloading commons-email:commons-email:1.1
This artifact has been relocated to org.apache.commons:commons-email:1.1.
Commons Email has been reassigned to the
org.apache.commons group as per the Maven 2 standards.

[INFO] Creating maven-eclipse.xml Ant file to handle resources
[INFO] Creating external launcher file
[INFO] File C:\myProjectProject\.project already exists.
Additional settings will be preserved, run mvn eclipse:clean if you want
old settings to be removed.
[INFO] Wrote Eclipse project for "myProject" to C:\myProjectProject.

[INFO] BUILD SUCCESS

[INFO] Total time: 6.823s
[INFO] Finished at: Tue Mar 13 13:16:52 PDT 2012
[INFO] Final Memory: 9M/152M
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:52:09+00:00Added an answer on May 31, 2026 at 10:52 am

    My advice is reinstall Eclipse, some config must have broken. Chuck Norris can figure out these problems very quickly but for the rest of us reinstall is usually a good way to go.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using : Eclipse Java EE IDE Web Developers version:Indigo Release with hibernate tools,
I use Eclipse for java development: Eclipse Java EE IDE for Web Developers. Version:
I'm using Eclipse Java EE IDE for Web Developers and want something like that:
For a new Java web project I thought about using: Eclipse as IDE Mercurial
I've recently downloaded the Eclipse IDE for Java EE developers (for web apps development).
I use the Eclipse IDE to develop, compile, and run my Java projects. Today,
I am generating a web service in Java with Eclipse IDE that has a
i have one simple problem with downloading eclipse java ide for web application.I have
I use Eclipse as IDE. I use Eclipse to test my Java apps. But
I'm new to Java. I use Eclipse IDE. I have such structure of packages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.