简体   繁体   中英

Eclipse Project Explorer View , Errorrs

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.

  • project > Build Automatically 在此处输入图片说明

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM