Excel file getting corrupted inside jar
We are using a j2ee system and the开发者_如何学C excel file when we are jarring up is getting corrupted. We are using Maven script to jar it up. Any suggestions/ideas?
make sure you disable maven filtering for any binary resources.
It seems unlikely that the jar utility would be corrupting the file. You might look at other possibilities. Is the excel file being checked into source control? Source control (particularly cvs) can corrupt files if the file is being treated as ascii instead of binary.
精彩评论