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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:53:59+00:00 2026-06-08T18:53:59+00:00

I have a Java project that I’m working on in Eclipse Indigo. Seemingly randomly

  • 0

I have a Java project that I’m working on in Eclipse Indigo. Seemingly randomly (but usually after a file save) the IDE will stop recognizing my classes for which the only solution is a project clean. For example, I have a class FailedJobManager.java in the package com.ccn.sec which references a DistributionJob.java in the package com.ccn.sec.domain. When the problem manifests I will get an error in the FailedJobManager saying: DistributionJob cannot be resolved to a type. The import of DistributionJob also errors saying that the import cannot be resolved. If I do a clean the errors disappear.

I don’t mind clicking clean once in a while but when I have to click it every 2 minutes it gets old real quick. I have tried playing with the build path order but to no avail.

Has anyone else experienced this before and if so what did you do to fix it?

  • 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-06-08T18:54:00+00:00Added an answer on June 8, 2026 at 6:54 pm

    I found the problem. I have an ANT build that was outputting the compiled classes to the same build folder that the Eclipse build outputs its compiled classes. After doing an ANT build of the project the ANT compiled classes would get put into the build/WEB-INF/classes. Subsequently modifying a file and then saving that file would trigger an Eclipse build that would put the Eclipse compiled classes in build/classes resulting in the build folder containing two sets of the same classes. This apparently created a conflict for the Eclipse compiler giving me the “… cannot be resolved to a type” errors. Moving the ANT build folder to a dedicated folder resolved the problem.

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

Sidebar

Related Questions

I have recently just created Java project using Eclipse that requires 2 JAR files
i have a java ee project which has a text file that uses a
I have a java project that I'm working on which was working until a
I have a JAVA project that updates a database. But I have to manually
I have a Java project in Eclipse that mirrors a directory structure on my
In eclipse I have a java project that runs an external program (a .exe)
I'm working on a java project that utilizes XML files in Eclipse; however, I
I have a java project in Eclipse that I am trying to run/debug. When
I have a Java project that I've been working on for a while. The
I have Java project that uses a JAR from another Eclipse project (open source

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.