在problems窗口可以看到错误信息 
菜单栏 window--》show view--》problems
或alt+shift+q  然后按x
看到信息后逐项修改