Error retrieving required libraries

2,097 views
Skip to first unread message

Russ P.

unread,
Sep 18, 2012, 2:25:02 AM9/18/12
to simple-b...@googlegroups.com
I am trying to set up for the Scala functional programming course that starts tomorrow. I downloaded the pre-packaged Scala IDE, and I tried to run the example assignment. When I tried to start sbt, I got had an error retrieving the required libraries. The error messages and a copy of the build file follow. I posted this on the coursera site for the course, but I have not received a reply yet, and I would really like to get this resolved ASAP so I know that I can take the course. Any help will certainly be appreciated. Thanks.

For the record, I currently have sbt 0.11.2 installed on the same machine, and it has worked fine for months.

--Russ P.


Getting org.scala-tools.sbt sbt_2.9.1 0.11.3-2 ...

:: problems summary ::
:::: WARNINGS
        module not found: org.scala-tools.sbt#sbt_2.9.1;0.11.3-2

    ==== local: tried

      /home/rpaielli/.ivy2/local/org.scala-tools.sbt/sbt_2.9.1/0.11.3-2/ivys/ivy.xml

    ==== typesafe-ivy-releases: tried

      http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt_2.9.1/0.11.3-2/ivys/ivy.xml

    ==== Maven Central: tried

      http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt_2.9.1/0.11.3-2/sbt_2.9.1-0.11.3-2.pom

    ==== Scala-Tools Maven2 Repository: tried

      http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt_2.9.1/0.11.3-2/sbt_2.9.1-0.11.3-2.pom

    ==== Scala-Tools Maven2 Snapshots Repository: tried

      http://scala-tools.org/repo-snapshots/org/scala-tools/sbt/sbt_2.9.1/0.11.3-2/sbt_2.9.1-0.11.3-2.pom

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: org.scala-tools.sbt#sbt_2.9.1;0.11.3-2: not found

        ::::::::::::::::::::::::::::::::::::::::::::::


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-tools.sbt#sbt_2.9.1;0.11.3-2: not found
Error during sbt execution: Error retrieving required libraries
  (see /home/rpaielli/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.11.3-2


Here is the build.sbt file:

name <<= submitProjectName(pname => "progfun-"+ pname)

version := "1.0.0"

scalaVersion := "2.9.2"

scalacOptions ++= Seq("-deprecation")

libraryDependencies += "org.scalatest" %% "scalatest" % "1.8" % "test"

libraryDependencies += "junit" % "junit" % "4.10" % "test"

// This setting defines the project to which a solution is submitted. When creating a
// handout, the 'createHandout' task will make sure that its value is correct.
submitProjectName := "example"

// See documentation in ProgFunBuild.scala
projectDetailsMap := Map(
  "example" ->  ProjectDetails(
                  packageName = "example",
                  assignmentPartId = "fTzFogNl",
                  assignmentPartIdNumber = 5,
                  maxScore = 10d,
                  styleScoreRatio = 0.2),
  "sets" ->     ProjectDetails(
                  packageName = "project1",
                  assignmentPartId = "fBXOL6Qd",
                  assignmentPartIdNumber = 6,
                  maxScore = 10d,
                  styleScoreRatio = 0.2)
)

// Files that we hand out to the students
handoutFiles <<= (baseDirectory, projectDetailsMap, commonSourcePackages) map { (basedir, detailsMap, commonSrcs) =
>
  (projectName: String) => {
    val details = detailsMap.getOrElse(projectName, sys.error("Unknown project name: "+ projectName))
    val commonFiles = (PathFinder.empty /: commonSrcs)((files, pkg) =>
      files +++ (basedir / "src" / "main" / "scala" / pkg ** "*.scala")
    )
    (basedir / "src" / "main" / "scala" / details.packageName ** "*.scala") +++
    commonFiles +++
    (basedir / "src" / "test" / "scala" / details.packageName ** "*.scala") +++
    (basedir / "build.sbt") +++
    (basedir / "project" / "build.properties") +++
    (basedir / "project" ** ("*.scala" || "*.sbt")) +++
    (basedir / "project" / "scalastyle_config.xml") +++
    (basedir / "lib_managed" ** "*.jar") +++
    (basedir * (".classpath" || ".project")) +++
    (basedir / ".settings" / "org.scala-ide.sdt.core.prefs")
  }
}

// This setting allows to restrict the source files that are compiled and tested
// to one specific project. It should be either the empty string, in which case all
// projects are included, or one of the project names from the projectDetailsMap.
currentProject := ""

// Packages in src/main/scala that are used in every project. Included in every
// handout, submission.
commonSourcePackages += "common"

// Packages in src/test/scala that are used for grading projects. Always included
// compiling tests, grading a project.
gradingTestPackages += "grading"


Jason Zaugg

unread,
Sep 18, 2012, 3:54:29 AM9/18/12
to simple-b...@googlegroups.com
On Tuesday, September 18, 2012 8:25:02 AM UTC+2, Russ P. wrote:
I am trying to set up for the Scala functional programming course that starts tomorrow. I downloaded the pre-packaged Scala IDE, and I tried to run the example assignment. When I tried to start sbt, I got had an error retrieving the required libraries. The error messages and a copy of the build file follow. I posted this on the coursera site for the course, but I have not received a reply yet, and I would really like to get this resolved ASAP so I know that I can take the course. Any help will certainly be appreciated. Thanks.

For the record, I currently have sbt 0.11.2 installed on the same machine, and it has worked fine for months.

That transcript shows that the SBT 0.11.2 launcher (sbt-launch.jar) is being used. This launcher is not forwards compatible with 0.11.3+.

Type `which sbt` to see where it is coming from and adjust your PATH accordingly.

Or, better yet, remove your 0.11.2 installation and replace it with 0.12.0 (download from http://www.scala-sbt.org/download.html#manual). This version is backwards compatible with *all* previous SBT versions.

-jason

Russ P.

unread,
Sep 18, 2012, 4:15:03 AM9/18/12
to simple-b...@googlegroups.com
Thanks. I tried this:

> set sbt.version 0.12.0

but it didn't work? Is there a command to upgrade to 0.12.0? Or do I really need to delete the current one
and start over?

Sorry for the newbie-type questions, but the documentation for sbt seems to be scattered everywhere
and constantly changing. I hear it's a really good build tool, and I'm sure it is, but I wouldn't know a good build tool
from a bad one. I just want something that works.

--Russ P.

Arjan Blokzijl

unread,
Sep 18, 2012, 4:52:20 AM9/18/12
to simple-b...@googlegroups.com
Yes, you really need to download the new one from here: http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.12.0/sbt-launch.jar
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/L-Q0q70fZmMJ.

To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

Russ P.

unread,
Sep 18, 2012, 6:46:59 PM9/18/12
to simple-b...@googlegroups.com
OK, thanks. New problem:

[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0-M3: not found

What next?

Russ P.

unread,
Sep 19, 2012, 2:21:31 PM9/19/12
to simple-b...@googlegroups.com
Am I the only one getting this error, or is this a fundamental problem with the 0.12.0 sbt release? And if it is the latter, is anyone planning to correct it? Thanks.

--Russ P.

Seth Tisue

unread,
Sep 19, 2012, 2:49:54 PM9/19/12
to simple-b...@googlegroups.com
> On Tuesday, September 18, 2012 3:46:59 PM UTC-7, Russ P. wrote:
>> OK, thanks. New problem:
>>
>> [error] (*:update) sbt.ResolveException: unresolved dependency:
>> com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0-M3: not found
>>
>> What next?

Does this happen even with a freshly re-downloaded, freshly unzipped,
unaltered copy of the assignment project...?

--
Seth Tisue | Northwestern University | http://tisue.net
lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/

Russ P.

unread,
Sep 19, 2012, 3:12:20 PM9/19/12
to simple-b...@googlegroups.com
I think I downloaded the one from Arjan's link earlier on this thread. Then I just unzipped and untarred it, pointed my path to it, and ran sbt.

Seth Tisue

unread,
Sep 19, 2012, 3:26:42 PM9/19/12
to simple-b...@googlegroups.com
On Wednesday, September 19, 2012 3:12:20 PM UTC-4, Russ P. wrote:
I think I downloaded the one from Arjan's link earlier on this thread. Then I just unzipped and untarred it, pointed my path to it, and ran sbt.

Huh? Arjan posted a link to the sbt launcher. That isn't what I asked about — I asked about whether it happens with a freshly download, freshly unzipped copy *of the assignment project* — for the class.

Russ P.

unread,
Sep 20, 2012, 2:28:27 AM9/20/12
to simple-b...@googlegroups.com
On Wednesday, September 19, 2012 12:26:42 PM UTC-7, Seth Tisue wrote:
On Wednesday, September 19, 2012 3:12:20 PM UTC-4, Russ P. wrote:
I think I downloaded the one from Arjan's link earlier on this thread. Then I just unzipped and untarred it, pointed my path to it, and ran sbt.

Huh? Arjan posted a link to the sbt launcher. That isn't what I asked about — I asked about whether it happens with a freshly download, freshly unzipped copy *of the assignment project* — for the class.

Yes. That was the original problem that I posted about to start this thread.

I was looking forward to this online course, but getting things working is just taking too much time and causing too much frustration. For a course on functional programming, one would hope that the course software would at least function. I guess I'll just watch the lectures. So far, Martin seems to be an excellent lecturer.

Maybe I'll try again next time around the hope the bugs are worked out by then.

Seth Tisue

unread,
Sep 20, 2012, 7:49:39 AM9/20/12
to simple-b...@googlegroups.com, russ.p...@gmail.com
Russ,

The reason I ask if you're really certain that you're using a freshly
downloaded copy of the assignment files is as follows. The error
message you posted refers to
com.typesafe.sbteclipse#sbteclipse-plugin;2.0.0-M3, but the current
version of the assignment files doesn't use that version of the
plugin. It uses version 2.1.0. So that certainly makes it seem like
you may have an outdated copy of the assignment files — although who
knows, perhaps some other explanation is possible too.

Also, at https://class.coursera.org/progfun-2012-001/forum/thread?thread_id=103
one student reports: "The version could just be a distraction. I had a
problem with resolved dependencies fo scalastyle and sbteclipse caused
by running sbt in the "project" sub directory not the top directory
(ie where build.sbt is)." Could that be the problem you're having?

Perhaps you could post a complete transcript showing the entire
session in which you get the error, including the commands leading up
to it. For example, here's a complete transcript showing me
downloading the assignment files, unzipping them, and everything
working fine (well, except for a PermGen error that goes away when I
try again):

https://gist.github.com/daeb588b66a6fb9f0918

Seth Tisue

unread,
Sep 20, 2012, 5:25:23 PM9/20/12
to simple-b...@googlegroups.com
On Thu, Sep 20, 2012 at 4:45 PM, Glenview Jeff <glenvi...@gmail.com> wrote:
> Hi Seth, I hope you've been doing well.

Hi! Took me a few seconds to put two and two together from your handle :-)

Knowing that you get the error even in an empty directory is helpful.

It appears to me that the key line in the transcript you sent is:
[info] Loading global plugins from C:\Users\Jeff\.sbt\plugins

Try moving the .sbt\plugins directory aside, or if that doesn't help,
the entire .sbt directory. Does that help?

(I don't use normally use Windows or Cygwin, or Eclipse or the
Typesafe Stack installer, so I don't know what might have put that
stuff there or if you might need it later in order to do Eclipse
stuff. Which is why I'm suggesting moving it aside instead of just
deleting it.)

Hope this helps,

Jeff Axelrod

unread,
Sep 20, 2012, 5:41:15 PM9/20/12
to simple-b...@googlegroups.com, russ.p...@gmail.com
The problem here was that there was an old sbteclipse sbt plugin installed.  To fix this, find your .sbt directory (on my Windows installation it's c:\Users\[name]\plugins.  Edit the build.sbt file and remove or comment out (//) the sbteclipse line.


On Thursday, September 20, 2012 3:45:38 PM UTC-5, Glenview Jeff wrote:
Hi Seth, I hope you've been doing well.

I too am getting this issue and it certainly has nothing to do with the downloaded assignment.  Running the upgraded sbt by itself from the command line in an empty directory results in the Eclipse plugin error.  Complete shell dump follows:

~/dummy > which sbt
/cygdrive/c/Program Files (x86)/sbt/sbt

~/dummy > sbt
Getting org.scala-sbt sbt 0.12.0 ...
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.12.0/jars/command.jar ...
        [SUCCESSFUL ] org.scala-sbt#command;0.12.0!command.jar (825ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classpath/0.12.0/jars/classpath.jar ...
        [SUCCESSFUL ] org.scala-sbt#classpath;0.12.0!classpath.jar (418ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.12.0/jars/completion.jar ...
        [SUCCESSFUL ] org.scala-sbt#completion;0.12.0!completion.jar (792ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.12.0/jars/api.jar ...
        [SUCCESSFUL ] org.scala-sbt#api;0.12.0!api.jar (1030ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-integration/0.12.0/jars/compiler-integration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-integration;0.12.0!compiler-integration.jar (356ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-ivy-integration/0.12.0/jars/compiler-ivy-integration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-ivy-integration;0.12.0!compiler-ivy-integration.jar (313ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/task-system/0.12.0/jars/task-system.jar ...
        [SUCCESSFUL ] org.scala-sbt#task-system;0.12.0!task-system.jar (471ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tasks/0.12.0/jars/tasks.jar ...
        [SUCCESSFUL ] org.scala-sbt#tasks;0.12.0!tasks.jar (468ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tracking/0.12.0/jars/tracking.jar ...
        [SUCCESSFUL ] org.scala-sbt#tracking;0.12.0!tracking.jar (339ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/testing/0.12.0/jars/testing.jar ...
        [SUCCESSFUL ] org.scala-sbt#testing;0.12.0!testing.jar (400ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/control/0.12.0/jars/control.jar ...
        [SUCCESSFUL ] org.scala-sbt#control;0.12.0!control.jar (300ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.12.0/jars/collections.jar ...
        [SUCCESSFUL ] org.scala-sbt#collections;0.12.0!collections.jar (735ms)
downloading http://repo1.maven.org/maven2/jline/jline/1.0/jline-1.0.jar ...
        [SUCCESSFUL ] jline#jline;1.0!jline.jar (324ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.12.0/jars/incremental-compiler.jar ...
        [SUCCESSFUL ] org.scala-sbt#incremental-compiler;0.12.0!incremental-compiler.jar (706ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.12.0/jars/compile.jar ...
        [SUCCESSFUL ] org.scala-sbt#compile;0.12.0!compile.jar (486ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/persist/0.12.0/jars/persist.jar ...
        [SUCCESSFUL ] org.scala-sbt#persist;0.12.0!persist.jar (475ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classfile/0.12.0/jars/classfile.jar ...
        [SUCCESSFUL ] org.scala-sbt#classfile;0.12.0!classfile.jar (407ms)
downloading http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0-rc1/ivy-2.3.0-rc1.jar ...
        [SUCCESSFUL ] org.apache.ivy#ivy;2.3.0-rc1!ivy.jar (2134ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cache/0.12.0/jars/cache.jar ...
        [SUCCESSFUL ] org.scala-sbt#cache;0.12.0!cache.jar (611ms)
downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.12.0/jars/test-agent.jar ...
        [SUCCESSFUL ] org.scala-sbt#test-agent;0.12.0!test-agent.jar (298ms)
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        40 artifacts copied, 0 already retrieved (8158kB/952ms)
Getting Scala 2.9.2 (for sbt)...
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.9.2/scala-compiler-2.9.2.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-compiler;2.9.2!scala-compiler.jar (19088ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-library;2.9.2!scala-library.jar (14532ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/jline/2.9.2/jline-2.9.2.jar ...
        [SUCCESSFUL ] org.scala-lang#jline;2.9.2!jline.jar (366ms)
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        4 artifacts copied, 0 already retrieved (20090kB/82ms)

[info] Loading global plugins from C:\Users\Jeff\.sbt\plugins
[info] Updating {file:/C:/Users/Jeff/.sbt/plugins/}default-46e191...
[info] Resolving com.typesafe.sbteclipse#sbteclipse;1.4.0 ...
[warn]  module not found: com.typesafe.sbteclipse#sbteclipse;1.4.0
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse/scala_2.9.2/sbt_0.12/1.4.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.typesafe.sbteclipse/sbteclipse/scala_2.9.2/sbt_0.12/1.4.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   C:\Users\Jeff\.ivy2\local\com.typesafe.sbteclipse\sbteclipse\scala_2.9.2\sbt_0.12\1.4.0\ivys\ivy.xml
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse/scala_2.9.2/sbt_0.12/1.4.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9.2_0.12/1.4.0/sbteclipse-1.4.0.pom
[info] Resolving org.scala-sbt#sbt;0.12.0 ...
[info] Resolving org.scala-sbt#main;0.12.0 ...
[info] Resolving org.scala-sbt#actions;0.12.0 ...
[info] Resolving org.scala-sbt#classpath;0.12.0 ...
[info] Resolving org.scala-sbt#launcher-interface;0.12.0 ...
[info] Resolving org.scala-lang#scala-library;2.9.2 ...
[info] Resolving org.scala-sbt#interface;0.12.0 ...
[info] Resolving org.scala-sbt#io;0.12.0 ...
[info] Resolving org.scala-sbt#control;0.12.0 ...
[info] Resolving org.scala-lang#scala-compiler;2.9.2 ...
[info] Resolving org.scala-sbt#completion;0.12.0 ...
[info] Resolving org.scala-sbt#collections;0.12.0 ...
[info] Resolving jline#jline;1.0 ...
[info] Resolving org.scala-sbt#api;0.12.0 ...
[info] Resolving org.scala-sbt#compiler-integration;0.12.0 ...
[info] Resolving org.scala-sbt#incremental-compiler;0.12.0 ...
[info] Resolving org.scala-sbt#logging;0.12.0 ...
[info] Resolving org.scala-sbt#process;0.12.0 ...
[info] Resolving org.scala-sbt#compile;0.12.0 ...
[info] Resolving org.scala-sbt#persist;0.12.0 ...
[info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ...
[info] Resolving org.scala-sbt#classfile;0.12.0 ...
[info] Resolving org.scala-sbt#compiler-ivy-integration;0.12.0 ...
[info] Resolving org.scala-sbt#ivy;0.12.0 ...
[info] Resolving org.apache.ivy#ivy;2.3.0-rc1 ...
[info] Resolving com.jcraft#jsch;0.1.46 ...
[info] Resolving commons-httpclient#commons-httpclient;3.1 ...
[info] Resolving commons-logging#commons-logging;1.0.4 ...
[info] Resolving commons-codec#commons-codec;1.2 ...
[info] Resolving org.scala-sbt#run;0.12.0 ...
[info] Resolving org.scala-sbt#task-system;0.12.0 ...
[info] Resolving org.scala-sbt#tasks;0.12.0 ...
[info] Resolving org.scala-sbt#tracking;0.12.0 ...
[info] Resolving org.scala-sbt#cache;0.12.0 ...
[info] Resolving org.scala-sbt#testing;0.12.0 ...
[info] Resolving org.scala-sbt#test-agent;0.12.0 ...
[info] Resolving org.scala-tools.testing#test-interface;0.5 ...
[info] Resolving org.scala-sbt#command;0.12.0 ...
[info] Resolving org.scala-sbt#compiler-interface;0.12.0 ...
[info] Resolving org.scala-sbt#precompiled-2_8_2;0.12.0 ...
[info] Resolving org.scala-sbt#precompiled-2_10_0-m4;0.12.0 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbteclipse#sbteclipse;1.4.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]          com.typesafe.sbteclipse:sbteclipse:1.4.0 (sbtVersion=0.12, scalaVersion=2.9.2)
[warn]
sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse;1.4.0: not found
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:211)
        at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
        at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102)
        at sbt.IvySbt.liftedTree1$1(Ivy.scala:49)
        at sbt.IvySbt.action$1(Ivy.scala:49)
        at sbt.IvySbt$$anon$3.call(Ivy.scala:58)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
        at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
        at xsbt.boot.Using$.withResource(Using.scala:11)
        at xsbt.boot.Using$.apply(Using.scala:10)
        at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
        at xsbt.boot.Locks$.apply0(Locks.scala:30)
        at xsbt.boot.Locks$.apply(Locks.scala:27)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:58)
        at sbt.IvySbt.withIvy(Ivy.scala:99)
        at sbt.IvySbt.withIvy(Ivy.scala:95)
        at sbt.IvySbt$Module.withModule(Ivy.scala:114)
        at sbt.IvyActions$.update(IvyActions.scala:121)
        at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949)
        at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:947)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:968)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:972)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:967)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:975)
        at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:855)
        at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:852)
        at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
        at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
        at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
        at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$5.work(System.scala:71)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.Execute.work(Execute.scala:238)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse;1.4.0: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?


Robin Green

unread,
Sep 21, 2012, 4:38:34 AM9/21/12
to simple-b...@googlegroups.com, russ.p...@gmail.com
Having experienced this before, I think sbt's handling of this situation could be improved, because it is confusing and seems rather fragile. Rather than just saying it can't find the plugin, maybe it could note that there's no matching version available in the repositories that's compatible with this version of sbt, and suggest disabling the plugin or trying a different version of the plugin?
Reply all
Reply to author
Forward
0 new messages