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 7643153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:22:34+00:00 2026-05-31T09:22:34+00:00

We are getting a very weird behavior in our development environment that is consistent

  • 0

We are getting a very weird behavior in our development environment that is consistent with all of our developers on different operating systems.

We have about 20+ Maven (3.0.4) projects in the development environment, all of them are open projects in Eclipse (Indigo) with sonatype m2e (0.12.0) handling dependencies as usual. (m2e 1.0 is causing us more problems than solutions)

Out of all our 20+ projects there is one project that’s acting weird.
When performing mvn clean install on that project, even though Maven passes successfully, it causes 4 java files (in the unit tests, if it makes any difference) to show errors in Eclipse.

The errors are of the type “SomeNameOfClass cannot be resolved to a type” although opening the file and pressing F3 (Open declaration) on the erroneous class reference finds the class without a problem.

mvn clean is the problem, if we just run mvn install this doesn’t happen.

Eclipse’s Project -> Clean clears the errors and everything is ok.

This is not an operational problem that actually prevents me from working or anything like that, I can solve it simply by cleaning in Eclipse, I just hate doing that every time and I can’t stand red Xs in my projects even if they have no effect.

I’m just really really curious why this is happening at all, why specifically those 4 classes? why why why? 🙂

  • 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-31T09:22:36+00:00Added an answer on May 31, 2026 at 9:22 am

    We have had the exact same problem a while ago. We had more than 20 projects giving the same kind of error. From the investigation we did, we concluded that when maven clean install is run, eclipse loses track of the class files and thinks some of them are undefined.
    The solution we had is to issue the following at the command line:

    mvn eclipse:clean
    mvn clean install
    mvn eclipse:eclipse
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code: http://jsfiddle.net/8fvJN/15/ I am getting a very weird effect when
I'm getting a very weird exception when trying to deploy my app on JBOSS
I notice that I am getting very poor performance for either or both inserts
I'm pulling my hair out with something that should be very simple: getting line
I'm getting some weird behavior in asp.net MVC2 (at least it's not what I'm
I'm getting a very strange behavior in MySQL, which looks like some kind of
I'm getting so very strange behavior in my Objective C library (for iPhone). What
I'm getting a very weird answer when I'm trying to install ImageMagick through Homebrew.
I am getting a very weird error when using VBA in excel. I am
I have a very weird behaviour in a screen with a modeless dialog and

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.