building casbah

79 views
Skip to first unread message

Deepali Chourasia

unread,
Oct 7, 2015, 8:02:45 AM10/7/15
to mongodb-casbah-users
I am trying to build casbah from source.

But it is not getting completed. The output is like:

 ./sbt
OpenJDK 64-Bit Server VM warning: TieredCompilation is disabled in this release.
Getting org.scala-sbt sbt 0.13.8 ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/control/0.13.8/jars/control.jar ...
        [SUCCESSFUL ] org.scala-sbt#control;0.13.8!control.jar (7293ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.13.8/jars/collections.jar ...
        [SUCCESSFUL ] org.scala-sbt#collections;0.13.8!collections.jar (12251ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.13.8/jars/incremental-compiler.jar ...
        [SUCCESSFUL ] org.scala-sbt#incremental-compiler;0.13.8!incremental-compiler.jar (9279ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.13.8/jars/compile.jar ...
        [SUCCESSFUL ] org.scala-sbt#compile;0.13.8!compile.jar (8012ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/persist/0.13.8/jars/persist.jar ...
        [SUCCESSFUL ] org.scala-sbt#persist;0.13.8!persist.jar (6559ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classfile/0.13.8/jars/classfile.jar ...
        [SUCCESSFUL ] org.scala-sbt#classfile;0.13.8!classfile.jar (6308ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbinary/sbinary_2.10/0.4.2/jars/sbinary_2.10.jar ...
        [SUCCESSFUL ] org.scala-tools.sbinary#sbinary_2.10;0.4.2!sbinary_2.10.jar (9065ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cross/0.13.8/jars/cross.jar ...
        [SUCCESSFUL ] org.scala-sbt#cross;0.13.8!cross.jar (5801ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt.ivy/ivy/2.3.0-sbt-fccfbd44c9f64523b61398a0155784dcbaeae28f/jars/ivy.jar ...
        [SUCCESSFUL ] org.scala-sbt.ivy#ivy;2.3.0-sbt-fccfbd44c9f64523b61398a0155784dcbaeae28f!ivy.jar (12635ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/serialization_2.10/0.1.1/jars/serialization_2.10.jar ...
        [SUCCESSFUL ] org.scala-sbt#serialization_2.10;0.1.1!serialization_2.10.jar (8447ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cache/0.13.8/jars/cache.jar ...
        [SUCCESSFUL ] org.scala-sbt#cache;0.13.8!cache.jar (8443ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.13.8/jars/test-agent.jar ...
        [SUCCESSFUL ] org.scala-sbt#test-agent;0.13.8!test-agent.jar (6211ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/apply-macro/0.13.8/jars/apply-macro.jar ...
        [SUCCESSFUL ] org.scala-sbt#apply-macro;0.13.8!apply-macro.jar (6746ms)
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        52 artifacts copied, 0 already retrieved (17674kB/54ms)
Getting Scala 2.10.4 (for sbt)...
downloading https://repo1.maven.org/maven2/org/scala-lang/jline/2.10.4/jline-2.10.4.jar ...
        [SUCCESSFUL ] org.scala-lang#jline;2.10.4!jline.jar (1443ms)
downloading https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.4/jansi-1.4.jar ...
        [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (1031ms)
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        5 artifacts copied, 0 already retrieved (24459kB/31ms)
[info] Loading project definition from /root/deepali/scala_driver_casbah/casbah/project
[info] Updating {file:/root/deepali/scala_driver_casbah/casbah/project/}casbah-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.10/sbt_0.13/0.14.0/jars/sbt-assembly.jar ...
[info]  [SUCCESSFUL ] com.eed3si9n#sbt-assembly;0.14.0!sbt-assembly.jar (8446ms)
[info] downloading https://repo1.maven.org/maven2/org/scalastyle/scalastyle-sbt-plugin_2.10_0.13/0.6.0/scalastyle-sbt-plugin-0.6.0.jar ...
[info]  [SUCCESSFUL ] org.scalastyle#scalastyle-sbt-plugin;0.6.0!scalastyle-sbt-plugin.jar (1637ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-scalariform/scala_2.10/sbt_0.13/1.3.0/jars/sbt-scalariform.jar ...
[info]  [SUCCESSFUL ] com.typesafe.sbt#sbt-scalariform;1.3.0!sbt-scalariform.jar (6081ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.jsuereth/sbt-pgp/scala_2.10/sbt_0.13/1.0.0/jars/sbt-pgp.jar ...
[info]  [SUCCESSFUL ] com.jsuereth#sbt-pgp;1.0.0!sbt-pgp.jar (8866ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-unidoc/scala_2.10/sbt_0.13/0.3.2/jars/sbt-unidoc.jar ...
[info]  [SUCCESSFUL ] com.eed3si9n#sbt-unidoc;0.3.2!sbt-unidoc.jar (6389ms)
[info] downloading https://repo1.maven.org/maven2/org/scalactic/scalactic_2.10/2.2.1/scalactic_2.10-2.2.1.jar ...
[info]  [SUCCESSFUL ] org.scalactic#scalactic_2.10;2.2.1!scalactic_2.10.jar(bundle) (2423ms)
[info] downloading https://repo1.maven.org/maven2/org/pantsbuild/jarjar/jarjar/1.5/jarjar-1.5.jar ...
[info]  [SUCCESSFUL ] org.pantsbuild.jarjar#jarjar;1.5!jarjar.jar (1021ms)
[info] downloading https://repo1.maven.org/maven2/org/scalastyle/scalastyle_2.10/0.6.0/scalastyle_2.10-0.6.0.jar ...
[info]  [SUCCESSFUL ] org.scalastyle#scalastyle_2.10;0.6.0!scalastyle_2.10.jar (4078ms)
[info] downloading https://repo1.maven.org/maven2/com/danieltrinh/scalariform_2.10/0.1.5/scalariform_2.10-0.1.5.jar ...
[info]  [SUCCESSFUL ] com.danieltrinh#scalariform_2.10;0.1.5!scalariform_2.10.jar (10944ms)
[info] downloading https://repo1.maven.org/maven2/com/typesafe/config/1.2.0/config-1.2.0.jar ...
[info]  [SUCCESSFUL ] com.typesafe#config;1.2.0!config.jar(bundle) (1788ms)
[info] downloading https://repo1.maven.org/maven2/org/scalariform/scalariform_2.10/0.1.4/scalariform_2.10-0.1.4.jar ...
[info]  [SUCCESSFUL ] org.scalariform#scalariform_2.10;0.1.4!scalariform_2.10.jar (6827ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.jsuereth/pgp-library_2.10/1.0.0/jars/pgp-library_2.10.jar ...
[info]  [SUCCESSFUL ] com.jsuereth#pgp-library_2.10;1.0.0!pgp-library_2.10.jar (7268ms)
[info] downloading https://repo1.maven.org/maven2/net/databinder/dispatch-http_2.10/0.8.10/dispatch-http_2.10-0.8.10.jar ...
[info]  [SUCCESSFUL ] net.databinder#dispatch-http_2.10;0.8.10!dispatch-http_2.10.jar (807ms)
[info] downloading https://repo1.maven.org/maven2/org/bouncycastle/bcpg-jdk15on/1.51/bcpg-jdk15on-1.51.jar ...
[info]  [SUCCESSFUL ] org.bouncycastle#bcpg-jdk15on;1.51!bcpg-jdk15on.jar (1595ms)
[info] downloading https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.51/bcprov-jdk15on-1.51.jar ...
[info]  [SUCCESSFUL ] org.bouncycastle#bcprov-jdk15on;1.51!bcprov-jdk15on.jar (10935ms)
[info] downloading https://repo1.maven.org/maven2/net/databinder/dispatch-core_2.10/0.8.10/dispatch-core_2.10-0.8.10.jar ...
[info]  [SUCCESSFUL ] net.databinder#dispatch-core_2.10;0.8.10!dispatch-core_2.10.jar (1193ms)
[info] downloading https://repo1.maven.org/maven2/net/databinder/dispatch-futures_2.10/0.8.10/dispatch-futures_2.10-0.8.10.jar ...
[info]  [SUCCESSFUL ] net.databinder#dispatch-futures_2.10;0.8.10!dispatch-futures_2.10.jar (829ms)
[info] downloading https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.1.3/httpclient-4.1.3.jar ...
[info]  [SUCCESSFUL ] org.apache.httpcomponents#httpclient;4.1.3!httpclient.jar (2036ms)
[info] downloading https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.1.4/httpcore-4.1.4.jar ...
[info]  [SUCCESSFUL ] org.apache.httpcomponents#httpcore;4.1.4!httpcore.jar (1203ms)
[info] downloading https://repo1.maven.org/maven2/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar ...
[info]  [SUCCESSFUL ] commons-logging#commons-logging;1.1.1!commons-logging.jar (831ms)
[info] downloading https://repo1.maven.org/maven2/commons-codec/commons-codec/1.4/commons-codec-1.4.jar ...
[info]  [SUCCESSFUL ] commons-codec#commons-codec;1.4!commons-codec.jar (809ms)
[info] downloading https://repo1.maven.org/maven2/org/scala-lang/scala-actors/2.10.2/scala-actors-2.10.2.jar ...
[info]  [SUCCESSFUL ] org.scala-lang#scala-actors;2.10.2!scala-actors.jar (2184ms)
[info] Done updating.
[info] Compiling 4 Scala sources to /root/deepali/scala_driver_casbah/casbah/project/target/scala-2.10/sbt-0.13/classes...
[info] Set current project to casbah (in build file:/root/deepali/scala_driver_casbah/casbah/)
>


And it is not proceeding after this point. Has anyone else observed this situation and has any suggestions for the same?

Regards
Deepali

Ross Lawley

unread,
Oct 7, 2015, 8:30:31 AM10/7/15
to mongodb-ca...@googlegroups.com
Hi,

That all looks fine, you have loaded sbt in the interactive mode and from there you can run commands.  Typing "help" will give you a list of commands to run.  I don't often use the interactive mode rather I pass the commands to sbt directly eg:

./sbt compile  or  ./sbt console 

I hope that clarifies it for you!

Ross

--
You received this message because you are subscribed to the Google Groups "mongodb-casbah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-casbah-u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--


{ name     : "Ross Lawley",
  title    : "Senior Software Engineer",
  location : "London, UK",
  twitter  : ["@RossC0", "@MongoDB"],
  facebook :"MongoDB"}

Deepali Chourasia

unread,
Oct 8, 2015, 7:35:11 AM10/8/15
to mongodb-casbah-users
Hello Ross,

Thanks for pointing out the correct command to be used.
I am still facing issues related to unresolved dependencies. I am attaching the complete error log here.

Regards
Deepali
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-casbah-users+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Errors.txt

Deepali Chourasia

unread,
Oct 12, 2015, 7:36:31 AM10/12/15
to mongodb-casbah-users
Hi,

I am still facing the errors related to dependencies. The output is like:


 ./sbt test

[info] Loading project definition from /root/deepali/scala_driver_casbah/casbah/project
[info] Set current project to casbah (in build file:/root/deepali/scala_driver_casbah/casbah/)
[info] Formatting 2 Scala sources {file:/root/deepali/scala_driver_casbah/casbah/}casbah-query(test) ...
[info] Formatting 3 Scala sources {file:/root/deepali/scala_driver_casbah/casbah/}casbah-gridfs(test) ...
[info] Formatting 13 Scala sources {file:/root/deepali/scala_driver_casbah/casbah/}casbah-core(test) ...
[info] Formatting 4 Scala sources {file:/root/deepali/scala_driver_casbah/casbah/}casbah-commons(test) ...
[info] Updating {file:/root/deepali/scala_driver_casbah/casbah/}casbah-commons...
[info] Resolving org.scala-lang#scala-library;2.11.7 ...
[warn]  module not found: org.scala-lang#scala-library;2.11.7
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.scala-lang/scala-library/2.11.7/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom
[info] Resolving org.mongodb#mongo-java-driver;3.0.4 ...
[warn]  module not found: org.mongodb#mongo-java-driver;3.0.4
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.mongodb/mongo-java-driver/3.0.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/mongodb/mongo-java-driver/3.0.4/mongo-java-driver-3.0.4.pom
[info] Resolving org.slf4j#slf4j-api;1.6.0 ...
[warn]  module not found: org.slf4j#slf4j-api;1.6.0
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.slf4j/slf4j-api/1.6.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.pom
[info] Resolving org.scalatest#scalatest_2.11;2.1.3 ...
[warn]  module not found: org.scalatest#scalatest_2.11;2.1.3
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.scalatest/scalatest_2.11/2.1.3/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/scalatest/scalatest_2.11/2.1.3/scalatest_2.11-2.1.3.pom
[info] Resolving org.specs2#specs2-core_2.11;3.6.4 ...
[warn]  module not found: org.specs2#specs2-core_2.11;3.6.4
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.specs2/specs2-core_2.11/3.6.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/specs2/specs2-core_2.11/3.6.4/specs2-core_2.11-3.6.4.pom
[info] Resolving org.specs2#specs2-junit_2.11;3.6.4 ...
[warn]  module not found: org.specs2#specs2-junit_2.11;3.6.4
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.specs2/specs2-junit_2.11/3.6.4/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/specs2/specs2-junit_2.11/3.6.4/specs2-junit_2.11-3.6.4.pom
[info] Resolving org.slf4j#slf4j-jcl;1.6.0 ...
[warn]  module not found: org.slf4j#slf4j-jcl;1.6.0
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.slf4j/slf4j-jcl/1.6.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/slf4j/slf4j-jcl/1.6.0/slf4j-jcl-1.6.0.pom
[info] Resolving org.scala-lang#scala-compiler;2.11.7 ...
[warn]  module not found: org.scala-lang#scala-compiler;2.11.7
[warn] ==== local: tried
[warn]   /root/.ivy2/local/org.scala-lang/scala-compiler/2.11.7/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn] ==== Sonatype snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn] ==== Local Maven Repository: tried
[warn]   file:///root/.m2/repository/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn] ==== Sonatype releases: tried
[warn]   https://oss.sonatype.org/content/repositories/releases/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn] ==== TypeSafe snapshots: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn] ==== TypeSafe releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/scala-lang/scala-compiler/2.11.7/scala-compiler-2.11.7.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scala-lang#scala-library;2.11.7: not found
[warn]  :: com.github.nscala-time#nscala-time_2.11;1.0.0: java.util.NoSuchElementException
[warn]  :: org.mongodb#mongo-java-driver;3.0.4: not found
[warn]  :: org.slf4j#slf4j-api;1.6.0: not found
[warn]  :: org.scalatest#scalatest_2.11;2.1.3: not found
[warn]  :: org.specs2#specs2-core_2.11;3.6.4: not found
[warn]  :: org.specs2#specs2-junit_2.11;3.6.4: not found
[warn]  :: org.slf4j#slf4j-jcl;1.6.0: not found
[warn]  :: org.scala-lang#scala-compiler;2.11.7: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]          org.mongodb:mongo-java-driver:3.0.4 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L105)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.scala-lang:scala-library:2.11.7 ((sbt.Classpaths) Defaults.scala#L1203)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          com.github.nscala-time:nscala-time_2.11:1.0.0 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L83)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.scala-lang:scala-compiler:2.11.7
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.specs2:specs2-core_2.11:3.6.4 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L83)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.slf4j:slf4j-api:1.6.0 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L105)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.scalatest:scalatest_2.11:2.1.3 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L83)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.slf4j:slf4j-jcl:1.6.0 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L105)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
[warn]          org.specs2:specs2-junit_2.11:3.6.4 (/root/deepali/scala_driver_casbah/casbah/project/CasbahBuild.scala#L83)
[warn]            +- org.mongodb:casbah-commons_2.11:3.0.0-SNAPSHOT
sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.11.7: not found
unresolved dependency: com.github.nscala-time#nscala-time_2.11;1.0.0: java.util.NoSuchElementException
unresolved dependency: org.mongodb#mongo-java-driver;3.0.4: not found
unresolved dependency: org.slf4j#slf4j-api;1.6.0: not found
unresolved dependency: org.scalatest#scalatest_2.11;2.1.3: not found
unresolved dependency: org.specs2#specs2-core_2.11;3.6.4: not found
unresolved dependency: org.specs2#specs2-junit_2.11;3.6.4: not found
unresolved dependency: org.slf4j#slf4j-jcl;1.6.0: not found
unresolved dependency: org.scala-lang#scala-compiler;2.11.7: not found
        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:291)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:188)
        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:165)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
        at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
        at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
        at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
        at xsbt.boot.Using$.withResource(Using.scala:10)
        at xsbt.boot.Using$.apply(Using.scala:9)
        at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
        at xsbt.boot.Locks$.apply0(Locks.scala:31)
        at xsbt.boot.Locks$.apply(Locks.scala:28)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
        at sbt.IvySbt.withIvy(Ivy.scala:127)
        at sbt.IvySbt.withIvy(Ivy.scala:124)
        at sbt.IvySbt$Module.withModule(Ivy.scala:155)
        at sbt.IvyActions$.updateEither(IvyActions.scala:165)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1369)
        at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1365)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1399)
        at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$87.apply(Defaults.scala:1397)
        at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:37)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1402)
        at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1396)
        at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:60)
        at sbt.Classpaths$.cachedUpdate(Defaults.scala:1419)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1348)
        at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1310)
        at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
        at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
        at sbt.std.Transform$$anon$4.work(System.scala:63)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
        at sbt.Execute.work(Execute.scala:235)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
        at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
        at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
        at java.util.concurrent.FutureTask.run(FutureTask.java:274)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:483)
        at java.util.concurrent.FutureTask.run(FutureTask.java:274)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
        at java.lang.Thread.run(Thread.java:809)
[error] (casbah-commons/*:update) sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.11.7: not found
[error] unresolved dependency: com.github.nscala-time#nscala-time_2.11;1.0.0: java.util.NoSuchElementException
[error] unresolved dependency: org.mongodb#mongo-java-driver;3.0.4: not found
[error] unresolved dependency: org.slf4j#slf4j-api;1.6.0: not found
[error] unresolved dependency: org.scalatest#scalatest_2.11;2.1.3: not found
[error] unresolved dependency: org.specs2#specs2-core_2.11;3.6.4: not found
[error] unresolved dependency: org.specs2#specs2-junit_2.11;3.6.4: not found
[error] unresolved dependency: org.slf4j#slf4j-jcl;1.6.0: not found
[error] unresolved dependency: org.scala-lang#scala-compiler;2.11.7: not found
[error] Total time: 3 s, completed Oct 12, 2015 3:58:02 PM

Any suggestions on how I can avoid this error. I am experiencing it on PPC machine.

Can I manually download jars and refer them?

Regards
Deepali
...

Ross Lawley

unread,
Oct 13, 2015, 4:34:36 AM10/13/15
to mongodb-ca...@googlegroups.com
Hi Deepali,

SBT is saying that it can't find the resources that it needs to build Casbah as is providing a link to the pom files for those libraries that it has tried.  

For this step to be successful you need to be online and have access to the various poms, SBT will read the pom files to determine the dependency tree for Casbah.  For example you will need the scala library and that should be available from: https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.7/scala-library-2.11.7.pom

SBT caches these jars locally, so once fetched it wont need to get them everytime.

Ross

To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-casbah-u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--


{ name     : "Ross Lawley",
  title    : "Senior Software Engineer",
  location : "London, UK",
  twitter  : ["@RossC0", "@MongoDB"],
  facebook :"

...

--
You received this message because you are subscribed to the Google Groups "mongodb-casbah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-casbah-u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--


{ name     : "Ross Lawley",
  title    : "Senior Software Engineer",
  location : "London, UK",

  twitter  : ["@RossC0", "@MongoDB"],


  facebook :"MongoDB"}

Deepali Chourasia

unread,
Oct 13, 2015, 8:13:39 AM10/13/15
to mongodb-casbah-users
Hello Ross,

Thanks for the helpful comments.

Actually I am connected to internet but still for some reason it was not able to download some jars. Then I tried setting sbt version as
sbt.version=0.13.6

and it worked.

Now I am facing one error while executing the tests

INFO: Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
org.specs2.matcher.MatchFailureException: 'java.lang.Integer incompatible with java.lang.Double' doesn't match '\s*.*\s*java.lang.Integer cannot be cast to java.lang.Double\s*.*\s*'

I am attaching the log for this error. Please advise me on this.

Regards
Deepali
...
Exception_PPC_13Oct.txt
Reply all
Reply to author
Forward
0 new messages