CMAK icon indicating copy to clipboard operation
CMAK copied to clipboard

Deployment error: sbt-launch.jar.md5: No such file or directory

Open erkankarabulut opened this issue 4 years ago • 3 comments

I am trying to deploy the app with the given ./sbt clean dist command but I got this error:

Downloading sbt launcher for 1.3.8:
  From  https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.8/sbt-launch-1.3.8.jar
    To  /root/.sbt/launchers/1.3.8/sbt-launch.jar
Downloading sbt launcher 1.3.8 md5 hash:
  From  https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.8/sbt-launch-1.3.8.jar.md5
    To  /root/.sbt/launchers/1.3.8/sbt-launch.jar.md5
cat: /root/.sbt/launchers/1.3.8/sbt-launch.jar.md5: No such file or directory
md5sum: 'standard input': no properly formatted MD5 checksum lines found
Checksum does not match
Could not download and verify the launcher. Obtain the jar manually and place it at /root/.sbt/launchers/1.3.8/sbt-launch.jar

java -version output:

java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)

Before running deploy command, there were no .sbt folder under root dir. I think it struggles to download that .jar.md5 file but doesn't produce any output about it. How can I solve this?

erkankarabulut avatar Apr 15 '20 12:04 erkankarabulut

I realized that cmak.zkhosts parameter wasn't correct and kafka wasn't up and running properly. After correcting them, I was able to compile it successfully.

erkankarabulut avatar Apr 15 '20 13:04 erkankarabulut

I realized that cmak.zkhosts parameter wasn't correct and kafka wasn't up and running properly. After correcting them, I was able to compile it successfully.

Hi. I also got this kind of error. Could you show me your 'cmak.zkhosts' parameter?

This is my zkhost. Does it right? cmak.zkhosts="localhost:2181" cmak.zkhosts=${?ZK_HOSTS}

WaOnEmperoR avatar Mar 21 '21 08:03 WaOnEmperoR

I realized that cmak.zkhosts parameter wasn't correct and kafka wasn't up and running properly. After correcting them, I was able to compile it successfully.

maybe can you share what you did change in the conf file?

OperaDevelop07 avatar Apr 09 '22 09:04 OperaDevelop07