'Eclipse 'Project Explorer View' doesn't show Errors - Stack Overflow

In the "Project Explorer" view of a maven project, instead of showing errors (compilation) in the project itself (red blade), they appear at the level of the folder src .. etc ... which is extremely uncomfortable since priori it seems that all projects compile ...

On the other hand, "Package Explorer" comes out both at the Project level and at the folder level

Version of Eclipse: Eclipse IDE for Java Developers Version: Photon Release (4.8.0)enter image description here .

(Update !!! )Note : This happens again in this Eclipse Version: 2022-03-RC1 (4.23.0)

(Update !!! )Note : This has been fixed at this Eclipse Version: 2022-06-M1 ((4.24.0 M1)



Solution 1:[1]

  • try to Check your source directory is listed in source folder of project

    Right-click your project > Build Path > Configure Build Path > Source.

  • If you are using multiple projects (as dependencies)

    Project->Clean

  • enter image description here

Check "Build Automatically" is enabled or not.

  • project > Build Automatically enter image description here

you can try and hope it will help you a lot

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bryan Nivarez