Open xxx31fr opened 5 years ago
Hey. Did you click on download button or did you right clicked "download as"?
I actually got this same error message when trying to set up a docker image to run the jar file. I used wget to download the jar file linked from the README.md. The docker file is as follows.
FROM java:8
WORKDIR /
ADD google-drive-ftp-adapter-jar-with-dependencies.jar google-drive-ftp-adapter-jar-with-dependencies.jar
EXPOSE 1821
CMD java -jar google-drive-ftp-adapter-jar-with-dependencies.jar
This results in the following:
username@machinename:~/google-drive-ftp-adapter$ sudo docker run gdfa
Error: Invalid or corrupt jarfile google-drive-ftp-adapter-jar-with-dependencies.jar
Upon review, it looks like the right link is https://github.com/andresoviedo/google-drive-ftp-adapter/raw/master/build/google-drive-ftp-adapter-jar-with-dependencies.jar, rather than what is linked on the README.md.
Yes. Thanks. Actually there is 2 links:
Hello, I get this issue...
Could not find or load main class google-drive-ftp-adapter-jar-with-dependencies.jar
andjava -jar google-drive-ftp-adapter-jar-with-dependencies.jar Error: Invalid or corrupt jarfile google-drive-ftp-adapter-jar-with-dependencies.jar
the size of the downloaded file is 59KB. is it good? Thanks for your help