0

I have this in my eclipse workspace:

enter image description here

As you can see there the main folder of the maven project has an error sign, even though it's subfolders contains no error.

  • Why do this happen?

  • Could this possibly result with an error?

  • Or could it possible be a bug?


Just for clarifications:

This project doesn't seem to have any error and is working fine. But this error sign is bothering me, that maybe this error sign could possibly result with an error in the future. I just need an explanation on how did this happen?

Again, Many thanks to all of you..

Makudex
  • 1,042
  • 4
  • 15
  • 40
  • What happens when you run it? – mmking Sep 08 '15 at 02:05
  • window->show view->problems – Scary Wombat Sep 08 '15 at 02:09
  • @Scary Wombat, i cannot find the problem view as you've said. I'm using Eclipse Juno. – Makudex Sep 08 '15 at 02:33
  • well I am not. find out how to `show view` in Eclipse Juno – Scary Wombat Sep 08 '15 at 02:35
  • You should also be able to see the error on the markers view, which is already displayed on the far left of the bottom views in the picture. – t0mppa Sep 08 '15 at 02:44
  • @t0mppa, explored every views i have but still no error found. Just did some refresh and update on the project and everything goes well. anyways, thanks.. – Makudex Sep 08 '15 at 02:49
  • @Makudex, yes, I saw your resolution. That's great. Just saying that whatever is shown on the problems view is also apparent on the markers view, which you wouldn't have to spend effort digging out, as it was displayed on your screenshot. – t0mppa Sep 09 '15 at 02:55

2 Answers2

0

There could be some error which is not being displayed in package explorer or project explorer. You can find it in Problems view.

Later you may right click project Maven > Update Project. If the symbol still exists, refresh the project using F5.

James Jithin
  • 10,183
  • 5
  • 36
  • 51
-1
  1. Hover that error sign and look if hint will popup. What does it says, if any?
  2. Try to clean Eclipse cache. This solution, for example.

If Cleanup won't fix that:

  1. Start new workspace.
  2. Import yours project to that new workspace.
  3. If it worked - try again with new workspace but with workspace settings, imported from initial workspace.
Community
  • 1
  • 1
ankhzet
  • 2,517
  • 1
  • 24
  • 31
  • There's no error found after i hovered the project. And about cleaning eclipse cache, how could i do that? Thanks. – Makudex Sep 08 '15 at 02:18
  • Your suggestion to start new workspace won't help, as you can see i have many projects in the current workspace. And I don't want to work hard for that copying all my projects to another workspace :( – Makudex Sep 08 '15 at 02:47
  • @AndréSchild, cache cleanup _actually_ was an answer to the question. See accepted answer. My answer was pointing to the wrong cache, though. – ankhzet Sep 08 '15 at 06:31
  • @wwwDELL "What does it says if any?" and "If Cleanup won't fix that" are not what is considered answers/solutions on stackoverflow – André Schild Sep 08 '15 at 08:40
  • I've nothing to do with that @Andre Schild, maybe you we're referring to ankhzet. – Makudex Sep 08 '15 at 08:45
  • @AndréSchild, by your's logic, `There could be some error which is not being displayed` is also `not what considered answer/solution on stackoverflow`. Actually `Hover that error sign and look if hint will popup. What does it says, if any?` states exactly same thing, but proposing instead of looking at `Problems view` to look at sign hint. In NetBeans problem-signs provided with verbose popup, don't known that Eclipse is different, but it worth a try. – ankhzet Sep 08 '15 at 15:30
  • @AndréSchild, looks like you confused suggestions with critics/clarification requests. – ankhzet Sep 08 '15 at 15:31