publishing failed with multiple errors

背景:

1.使用maven package工程

2. 在eclipse中添加server运行时

publishing failed with multiple errors resource is out of sync with the file system

问题所在:

Eclipse produces this message when a file in an Eclipse project is changed outside of Eclipse

解决方式:

a) Don't change files outside of Eclipse
b) Refresh the workspace/project after changing files outside of Eclipse F5 or
c) Enable Window > Preferences > General > Workspace > Refresh Automatically

试用了方法c) 解决问题。

原文地址:https://www.cnblogs.com/davidwang456/p/5465337.html