James Raitsev
James Raitsev

Reputation: 96391

Eclipse project contains a warning mark ... why?

The following red x suggests something is wrong.

enter image description here

Meanwhile

What would cause the red x and how can i remove it?

Upvotes: 3

Views: 10833

Answers (2)

Dave
Dave

Reputation: 6179

Try looking in the problems view for a detailed breakdown of build problems and warnings:

http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fcprbview.htm

There could be a whole range of problems related to your project without being specific to your source code. You might not have an expected jar on your build path - for example.

Upvotes: 7

Bohemian
Bohemian

Reputation: 424983

It could be a problem with the project itself. For example, you have a library defined in your build path and the library doesn't actually exist on disk.

Try right-click on project > Build Path > Configure build path > Libraries and look for problems there.

If you are not actually using any classes from the missing library, your project would still build, which would explain what you're seeing.

Upvotes: 2

Related Questions