Skip to main content



      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] Thu, 06 January 2011 20:55 Go to next message
Eclipse UserFriend
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] Thu, 06 January 2011 23:51 Go to previous messageGo to next message
Eclipse UserFriend
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 03:19 Go to previous messageGo to next message
Eclipse UserFriend
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 02:24 Go to previous messageGo to next message
Eclipse UserFriend
> 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 02:27 Go to previous messageGo to next message
Eclipse UserFriend
>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 05:55 Go to previous message
Eclipse UserFriend
I had this problem. Create class, click next, remove the check next to create module, then click finish.
Previous Topic:Eclipse Non-Standard Window Appearance
Next Topic:Which version of Eclipse do I need for Oracle JDK 11.0.6
Goto Forum:
  


Current Time: Wed Jul 23 16:43:23 EDT 2025

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

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

Back to the top