• Post Reply Bookmark Topic Watch Topic
  • New Topic

find out the error in eclipse  RSS feed

 
jenny brad
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use eclipase for a web app. there is an error (X) sign on the project while there is no error elsewhere. I could compile the project without any error before, but all of sudden, the error sign was there.

how can I find out what the problem is?

Thanks in advance.
 
Paul Goodman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Eclipse, go to the Window menu item -> Show View -> Problems.

That will open the Problems view with a list of errors and warnings in your project.

Good Luck!
 
Bujji Gadu
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clean your project and do a build after that from Project menu. That may take care of that error sign.
 
Siddhartha Ghosh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Eclipse IDE shows you an error against a project even if a single file in the entire project has an erroneous line. To add to our woes, Eclipse does a kind of live compilation, churning out byte codes everytime you hit on the save button ( and sometimes even if you don't )

Don't worry, here's your solution to locate and debug errors precisely:
Go to Window > Show View > Problems from the main menu bar at the top. This shows up the problems window usually docked at the bottom, which tells you the description, resource, path and location of your error precisely. You can then find out and correct it to run your code again!!
 
jenny brad
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Code Wookie,"

Welcome to JavaRanch!

Please revise your display name to meet the JavaRanch Naming Policy. To maintain the friendly atmosphere here at the ranch, we like folks to use real (or at least real-looking) names.

You can edit your display name here. Thank you for your prompt attention!

-Marc
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!