zoukankan      html  css  js  c++  java
  • SBT Cannot resolve dependencies

    Add addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0") to plugins.sbt. Run sbt. Dependencies for jse and npm can't be resolved:
    
    [warn] ::::::::::::::::::::::::::::::::::::::::::::::
    [warn] :: UNRESOLVED DEPENDENCIES ::
    [warn] ::::::::::::::::::::::::::::::::::::::::::::::
    [warn] :: com.typesafe#jse_2.10;1.0.0: not found
    [warn] :: com.typesafe#npm_2.10;1.0.0: not found
    [warn] ::::::::::::::::::::::::::::::::::::::::::::::
    sbt.ResolveException: unresolved dependency: com.typesafe#jse_2.10;1.0.0: not found
    unresolved dependency: com.typesafe#npm_2.10;1.0.0: not found
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
    at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:103)
    at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:48)
    at sbt.IvySbt$$anon$3.call(Ivy.scala:57)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:81)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
    at xsbt.boot.Using$.withResource(Using.scala:11)

    解决方法:在plugin.sbt 中添加

    resolvers += Resolver.typesafeRepo("releases")
  • 相关阅读:
    Python | PyQt5编写计时器与倒计时应用程序
    AI文件与PS文件相互导入,并分层可编辑
    maple解方程组
    有限元数值分析
    常用Latex编辑数学公式
    notion
    总结一下ANSYS中不同单元之间选择与连接问题
    参考文献的引用方法
    Abaqus CAE笔记本
    几种大文件传输的平台
  • 原文地址:https://www.cnblogs.com/yunfeiqi/p/7871887.html
Copyright © 2011-2022 走看看