我有一个jenkins构建来检查sbt,它失败并出现以下错误:
[sbt-check] $ /var/hudson/tools/java1.8.0_51/bin/java /var/hudson/tools/sbt-0.13.12/bin/sbt-launch.jar -Dsbt.log.noformat=true -jar clean assembly
Error: Could not find or load main class .var.hudson.tools.sbt-0.13.12.bin.sbt-launch.jar
Build step 'Build using sbt' changed build result to FAILURE
Build step 'Build using sbt' marked build as failure
Successfully triggered JIRA to update builds of this job
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 9 second
Notifying upstream projects of job completion
Finished: FAILURE
sbt软件包安装在服务器上。我从http://www.scala-sbt.org/download.html下载了包SBT-0.13.12.TGZ并创建了它的RPM以将其安装在我的服务器上。已安装包,我已在manage-jenkins中配置了sbt-launch的路径。