---
title: 无法下载sbt-launch.jar或编译snappy-java-1.1.1.3、1.1.1.6、1.1.1.7、1.1.2.1、1.1.2.6时提示error 1的解决方法
description: "执行编译时提示以下信息。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengbds/ecosystemEnable/tpdl/kunpengsnappyjava111x_02_0010.html
sourcePath: /source/zh/kunpengbds/ecosystemEnable/tpdl/kunpengsnappyjava111x_02_0010.html
indexId: 4eae7edf098bd680fcf9e536ebf7c8f8c027ac0f201d93d9653c70462db7fcd177
---
# 无法下载sbt-launch.jar或编译snappy-java-1.1.1.3、1.1.1.6、1.1.1.7、1.1.2.1、1.1.2.6时提示error 1的解决方法

#### 问题现象描述

执行编译时提示以下信息。

```
make: *** [target/snappy-java-1.1.1.3.jar] Error 1
```


#### 关键过程、根本原因分析

无


#### 结论、解决方案及效果

处理步骤相同，此处以1.1.1.3为例：

1. 进入“/root/.sbt/launchers/0.13.5”目录。
  1 cd /root/.sbt/launchers/0.13.5

  1.1.1.6和1.1.1.7版本对应的目录为“/root/.sbt/launchers/0.13.6”。 1.1.2.1版本对应的目录为“/root/.sbt/launchers/0.13.8”。 1.1.2.6版本对应的目录为“/root/.sbt/launchers/0.13.9”。

2. 在当前目录手动下载JAR包。
  1 wget https://scala.jfrog.io/ui/native/ivy-releases/org.scala-sbt/sbt-launch/0.13.5/sbt-launch.jar

  1.1.1.6和1.1.1.7版本：获取链接(https://scala.jfrog.io/ui/native/ivy-releases/org.scala-sbt/sbt-launch/0.13.6/sbt-launch.jar)。 1.1.2.1版本：获取链接(https://scala.jfrog.io/ui/native/ivy-releases/org.scala-sbt/sbt-launch/0.13.8/sbt-launch.jar)。 1.1.2.6版本：获取链接(https://scala.jfrog.io/ui/native/ivy-releases/org.scala-sbt/sbt-launch/0.13.9/sbt-launch.jar)。

3. 注释掉源代码目录下sbt文件的该行代码：
  1 #-sbt-launch-repo) require_arg path "$1" "$2" && sbt_launch_repo="$2" && shift 2 ;;
