Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SBT java.io.IOException: Not in GZIP format

Tags:

sbt

A Windows 7 Pro machine was shut down improperly. When the machine came back up, running 'sbt test' resulted in this error:

[error] {file:/C:/Jenkins/jobs/job1/workspace/}default-2990ce/copy-resources: Error wrapping InputStream in GZIPInputStream: java.io.IOException: Not in GZIP format

How can this be fixed?

like image 871
annoyed Avatar asked Aug 19 '11 06:08

annoyed


1 Answers

I just had this issue after a computer crash and sbt clean didn't help. Make sure you really find and remove all target directories:

 rm -rf `find . -name target` 
like image 115
Adam Lane Avatar answered Sep 25 '22 15:09

Adam Lane