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)
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
Check "Build Automatically" is enabled or not.
you can try and hope it will help you a lot
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.