我在Eclipse STS中创建新的Spring MVC项目时,经常会遇到以下错误信息:
为什么会出现这个问题呢?我没有做任何更改,而且位于
The project was not built due to "Error deleting resource '/ProjectName/target/classes/log4j.xml' from the workspace tree." Fix the problem, then try refreshing this project and building it since it may be inconsistent.
为什么会出现这个问题呢?我没有做任何更改,而且位于
classes\log4j.xml
的文件已存在于文件系统中。当我尝试导入文件时,Eclipse告诉我无法导入,因为源已经存在于该项目中(尽管它告诉我已被删除)。
classes
文件夹在工作区中,因此我仍无法导入它。您有任何其他建议如何将此classes
文件夹导入工作区吗?谢谢。 - Robert