简体   繁体   English

在Eclipse中使用Maven时,如何在问题窗格中显示编译器错误?

[英]How to show compiler errors in problems pane when using Maven in Eclipse?

The way that I see compiler errors is right clicking my pom.xml and clicking "run as --> maven install" and a console output shows compiler errors. 我看到编译器错误的方式是右键单击pom.xml,然后单击“运行方式-> maven install”,控制台输出显示了编译器错误。

Is it possible to make eclipse detect compiler errors in real-time and show them in the problems pane like it does when you are not using Maven? 是否可以使eclipse实时检测编译器错误,并像不使用Maven时一样在问题窗格中显示它们?

在此处输入图片说明

have you got build automatically check box checked?? 您是否已自动建立构建复选框? Enable it and try 启用它并尝试

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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