Why do errors no longer appear in Eclipse's package explorer?

后端 未结 6 1542
Happy的楠姐
Happy的楠姐 2021-02-05 10:28

My project used to be fine - errors showed up in the file margin, the editor breadcrumb, the problems view and in the package explorer tree as little red X marks.

Somewh

6条回答
  •  情深已故
    2021-02-05 10:52

    I had a similar problem. I imported a project which also uses aspectj. compile errors were shown in the editors, but not in the package/navigator-explorers. And the project was marked as java-project, maven2 and aspectj.

    Build path seemed ok.(jre was there, maven and aspectj.)

    After long search i found that in the .project file the following entry was missing:

        
            org.eclipse.jdt.core.javabuilder
            
            
        
    

    pasted that in and problem was solved!

提交回复
热议问题