You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like the issue I'm having (issue #145). Check the file encoding of the corrupted jar. In my case it was updated to UTF-8, which explains why the file has grown in size (and why it has become corrupted).
Looks like this is an issue related to connect-livereload plugin.
this plugin will try to encode response content as a string, to see whether it is html content. if not it sends the encoded string as response which will corrupt the binary files.
Some *.jar files returns with incorrect length so returned *.jar files are corrupted.
E.g. I hosted httpcore-4.2.1.jar as static content. The actual size is 223374 bytes http://central.maven.org/maven2/org/apache/httpcomponents/httpcore/4.2.1/httpcore-4.2.1.jar
But "grunt connect" returned httpcore-4.2.1.jar file as file with length 389046 bytes (corrupted file)!
On my local computer the jar file was located here: \web\plugins\scan-tool\lib\resteasy\httpcore-4.2.1.jar
And for hosting I used following code:
The text was updated successfully, but these errors were encountered: