Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » no errors shown in package explorer using Eclipse for Java
no errors shown in package explorer using Eclipse for Java [message #647549] Fri, 07 January 2011 01:55 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: January 2010
Junior Member
My problem is with the "error" notification in Eclipse. I am using Eclipse for Java Developers (Galileo- build: 20090920-1017), and primarily developing Android projects (Android Development Tools 0.9.7.v201005071157-36220), although my problem occurs with non-android Java projects as well.

Everything used to work "fine" (and I don't remember making any changes to explain the new behavior): red error markers used to showed up highlighting the problem code "in-line", show up in the file margin, show up in the tab displaying the open file, show up in "package explorer" by the file name, and finally the entire project would show up with a red error marker.

Now, the only error markers I get, are the errors highlighting the problematic code "in-line", and in the file margin. There is no error demarcated in the tab displaying the open file, or more importantly in the package explorer. [This is why this problem is frustrating because the only way I can find my errors is to open and peruse every file...] Even the project name in the package explorer no longer is indicated as having an error.

I have found a few references to this problem, and the fix usually entails turning on the "Build Automatically" option (which I have done), making sure the "java Builder" is on the list of Builders (which it is), and repeatedly clean&build project and/or close/open Eclipse.

Any help appreciated.

Thnx, Jim
Re: no errors shown in package explorer using Eclipse for Java [message #647561 is a reply to message #647549] Fri, 07 January 2011 04:51 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.01.06 18:56, Jim Schumacher wrote:
> My problem is with the "error" notification in Eclipse. I am using
> Eclipse for Java Developers (Galileo- build: 20090920-1017), and
> primarily developing Android projects (Android Development Tools
> 0.9.7.v201005071157-36220), although my problem occurs with non-android
> Java projects as well.
>
> Everything used to work "fine" (and I don't remember making any changes
> to explain the new behavior): red error markers used to showed up
> highlighting the problem code "in-line", show up in the file margin,
> show up in the tab displaying the open file, show up in "package
> explorer" by the file name, and finally the entire project would show up
> with a red error marker.
> Now, the only error markers I get, are the errors highlighting the
> problematic code "in-line", and in the file margin. There is no error
> demarcated in the tab displaying the open file, or more importantly in
> the package explorer. [This is why this problem is frustrating because
> the only way I can find my errors is to open and peruse every file...]
> Even the project name in the package explorer no longer is indicated as
> having an error.
> I have found a few references to this problem, and the fix usually
> entails turning on the "Build Automatically" option (which I have done),
> making sure the "java Builder" is on the list of Builders (which it is),
> and repeatedly clean&build project and/or close/open Eclipse.
> Any help appreciated.
>
> Thnx, Jim

What happens when you do Window -> Show View -> Other... -> General ->
Problems ?
Re: no errors shown in package explorer using Eclipse for Java [message #647589 is a reply to message #647549] Fri, 07 January 2011 08:19 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 07.01.2011 02:56, Jim Schumacher wrote:
> My problem is with the "error" notification in Eclipse. I am using
> Eclipse for Java Developers (Galileo- build: 20090920-1017), and
> primarily developing Android projects (Android Development Tools
> 0.9.7.v201005071157-36220), although my problem occurs with
> non-android Java projects as well.
>
> Everything used to work "fine" (and I don't remember making any
> changes to explain the new behavior): red error markers used to
> showed up highlighting the problem code "in-line", show up in the file
> margin, show up in the tab displaying the open file, show up in
> "package explorer" by the file name, and finally the entire project
> would show up with a red error marker.
> Now, the only error markers I get, are the errors highlighting the
> problematic code "in-line", and in the file margin. There is no error
> demarcated in the tab displaying the open file, or more importantly in
> the package explorer. [This is why this problem is frustrating because
> the only way I can find my errors is to open and peruse every
> file...] Even the project name in the package explorer no longer is
> indicated as having an error.
> I have found a few references to this problem, and the fix usually
> entails turning on the "Build Automatically" option (which I have
> done), making sure the "java Builder" is on the list of Builders
> (which it is), and repeatedly clean&build project and/or close/open
> Eclipse.
> Any help appreciated.
Make sure that your files are on the Java build path of the project.

Dani
>
> Thnx, Jim
Re: no errors shown in package explorer using Eclipse for Java [message #647724 is a reply to message #647561] Sat, 08 January 2011 07:24 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: January 2010
Junior Member
> What happens when you do Window -> Show View -> >Other... -> General ->
>Problems ?

This gives me a list of all errors (and warnings) occurring in all projects in my workspace. It does appear to include some of the "occult" errors I was looking for and which I was hoping to find via the package explorer. So maybe I can use this to track down those pesky errors if I can't get the package explorer to work...

thanks!!
Re: no errors shown in package explorer using Eclipse for Java [message #647725 is a reply to message #647589] Sat, 08 January 2011 07:27 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: January 2010
Junior Member
>Make sure that your files are on the Java build path of the >project.


All of the files are on the build path under:
Project>Properties>Java Build Path> Source> <project>/src> "Included: All"

Jim
Re: no errors shown in package explorer using Eclipse for Java [message #1826902 is a reply to message #647549] Mon, 04 May 2020 09:55 Go to previous message
Kuyaunnis Miles is currently offline Kuyaunnis MilesFriend
Messages: 1
Registered: April 2020
Junior Member
I had this problem. Create class, click next, remove the check next to create module, then click finish.
Previous Topic:Cant run Karel the robot or other kinds of programs in Eclipse
Next Topic:eclipse would not launch
Goto Forum:
  


Current Time: Tue Sep 22 14:29:29 GMT 2020

Powered by FUDForum. Page generated in 0.03507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top