почему sbt сообщает об ошибке при выполнении команды sbt about - PullRequest
0 голосов
/ 22 января 2020

Я следовал инструкциям по установке:

wget http://dl.bintray.com/sbt/rpm/sbt-0.13.16.rpm

И установил по yum

sudo yum install sbt-0.13.16.rpm

Проверьте это с помощью sbt о

sbt about

Это даст мне ошибка, пожалуйста, помогите с этой проблемой

$ sbt about
[info] Loading project definition from /../scala/2.11.12/project/project
[info] Loading project definition from //scala/2.11.12/project
[info] Updating {file://scala/2.11.12/project/}root-2-11-12-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Resolving key references (10396 settings) ...
fatal: Not a git repository (or any parent up to mount point /scratch)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /scratch)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /scratch)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
java.lang.StringIndexOutOfBoundsException: String index out of range: 7
        at java.lang.String.substring(String.java:1963)
        at VersionUtil$$anonfun$versionPropertiesImpl$1.apply(VersionUtil.scala:81)
        at VersionUtil$$anonfun$versionPropertiesImpl$1.apply(VersionUtil.scala:61)
        at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
        at sbt.EvaluateSettings$INode.evaluate(INode.scala:135)
        at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:69)
        at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:78)
        at sbt.EvaluateSettings$$anon$3.run(INode.scala:74)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] java.lang.StringIndexOutOfBoundsException: String index out of range: 7
[error] Use 'last' for the full log.
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...