question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sbt-scripted fails when using sbt 1.0.1 and coursier

See original GitHub issue

I’m running:

  • sbt 1.0.1
  • coursier 1.0.0-RC11

When using sbt-scripted, I systematically get the following failure:

info] Error during sbt execution: Could not finder sbt launch configuration.  Searched classpath for:
[info] 	/sbt.boot.propertiesUnspecified
[info] 	/sbt/sbt.boot.propertiesUnspecified
[info] 	/sbt.boot.properties
[info] 	/sbt/sbt.boot.properties

When I remove coursier from my list of global plugins, everything seems to behave as it should.

Here’s a repository containing the smallest reproduction I could make, and there’s the travis log that shows the same failure.

By contrast, this is the travis log when coursier is not enabled.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nrinaudocommented, Sep 23, 2017

Confirmed, at least for my user case.

1reaction
alexarchambaultcommented, Sep 5, 2017

@dwijnand The default implementation of sbtLauncher makes assumptions about the order of things in the update report - in particular, it seems to expect the jar of org.scala-sbt:sbt-launch upfront. On the other hand, sbt-coursier doesn’t provide guarantees about the order of things in the update report (for now, at least).

Read more comments on GitHub >

github_iconTop Results From Across the Web

sbt-coursier
sbt Native Packager conflict. If you use sbt-native-packager and encounter a compile error java.lang.NoClassDefFoundError: org/vafer/jdeb/ ...
Read more >
sbt/sbt - Gitter
with 1.0, sbt seems to be unable to find the dependencies we have on the ... [error] unresolved dependency: org.scala-sbt#scripted-plugin;1.0.0: not found.
Read more >
SBT preload failure - Stack Overflow
when i invoke sbt commands through jenkins pipeline, it fails... Below is the Jenkins pipeline code and failure log: docker.withRegistry(.
Read more >
sbt - Scaladex
sbt is a build tool for Scala, Java, and more. ... Other links. Setup: Describes getting started with the latest binary release.
Read more >
sbt Reference Manual — Testing sbt plugins
sbt comes with scripted test framework, which lets you script a build scenario. ... When you recompile, you should get an error because...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found