I have an excel file (somefile.xlsx) in my maven project.
A temporary file ~$somefile.xlsxwill be generated automatically if I modify this file. It also automatically disappears if I close the file.
When this temporary eclipse file exists, my project could not be created. The problem window said:
The project was not build due to "Could not read file :D:\myworkspace\src\main\java\com\mycompany\suites\~$somefile.xlsx".
How to solve such problems? Should I try to tell eclipse or maven to ignore this temporary file - is there such a way?
source
share