- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
Sbt 测试抛出
java.lang.IncompatibleClassChangeError: 找到类 scalaz.Memo,但需要接口(interface)
当 scalaz 是依赖项时。
sbt 依赖图
:
[info] Loading global plugins from /Users/ixaxaar/.sbt/0.13/plugins
[info] Loading project definition from /Users/ixaxaar/src/cerebro/project
[info] Set current project to cerebro (in build file:/Users/ixaxaar/src/cerebro/)
[info] Updating {file:/Users/ixaxaar/src/cerebro/}cerebro...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] default:cerebro_2.10:1.0 [S]
[info] +-ch.qos.logback:logback-classic:1.1.3
[info] | +-ch.qos.logback:logback-core:1.1.3
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] |
[info] +-com.github.tototoshi:scala-csv_2.10:1.2.1 [S]
[info] +-com.h2database:h2:1.4.187
[info] +-com.typesafe.akka:akka-actor_2.10:2.3.6 [S]
[info] | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | +-com.typesafe:config:1.3.0
[info] |
[info] +-com.typesafe:config:1.3.0
[info] +-com.typesafe:scalalogging-slf4j_2.10:1.1.0
[info] | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] | +-org.slf4j:slf4j-api:1.7.5 (evicted by: 1.7.12)
[info] |
[info] +-edu.stanford.nlp:stanford-corenlp:3.5.2
[info] | +-com.googlecode.efficient-java-matrix-library:ejml:0.23
[info] | +-com.io7m.xom:xom:1.2.10
[info] | | +-xalan:xalan:2.7.0
[info] | | | +-xml-apis:xml-apis:1.3.03
[info] | | | +-xml-apis:xml-apis:2.0.2 (evicted by: 1.3.03)
[info] | | |
[info] | | +-xerces:xercesImpl:2.8.0
[info] | | | +-xml-apis:xml-apis:1.3.03
[info] | | |
[info] | | +-xml-apis:xml-apis:1.3.03
[info] | |
[info] | +-de.jollyday:jollyday:0.4.7
[info] | | +-javax.xml.bind:jaxb-api:2.2.7
[info] | | +-joda-time:joda-time:2.1 (evicted by: 2.8)
[info] | | +-joda-time:joda-time:2.8
[info] | |
[info] | +-javax.json:javax.json-api:1.0
[info] | +-joda-time:joda-time:2.1 (evicted by: 2.8)
[info] | +-joda-time:joda-time:2.8
[info] |
[info] +-edu.stanford.nlp:stanford-parser:3.5.2
[info] | +-com.googlecode.efficient-java-matrix-library:ejml:0.23
[info] |
[info] +-io.spray:spray-can_2.10:1.3.2 [S]
[info] | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | +-org.parboiled:parboiled-core:1.1.6
[info] | |
[info] | +-io.spray:spray-io_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | | +-org.parboiled:parboiled-core:1.1.6
[info] | | |
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | |
[info] | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] |
[info] +-io.spray:spray-routing_2.10:1.3.2 [S]
[info] | +-com.chuusai:shapeless_2.10:1.2.4 [S]
[info] | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | +-org.parboiled:parboiled-core:1.1.6
[info] | |
[info] | +-io.spray:spray-httpx_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | | +-org.parboiled:parboiled-core:1.1.6
[info] | | |
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.jvnet.mimepull:mimepull:1.9.4
[info] | |
[info] | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] |
[info] +-mysql:mysql-connector-java:5.1.36
[info] +-org.apache.lucene:lucene-analyzers-common:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-backward-codecs:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-codecs:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-core:5.2.1
[info] +-org.apache.lucene:lucene-facet:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-queryparser:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] | +-org.apache.lucene:lucene-sandbox:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-suggest:5.2.1
[info] | +-org.apache.lucene:lucene-analyzers-common:5.2.1
[info] | | +-org.apache.lucene:lucene-core:5.2.1
[info] | |
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-misc:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] |
[info] +-org.hsqldb:hsqldb:2.3.2
[info] +-org.json4s:json4s-native_2.10:3.2.4 [S]
[info] | +-org.json4s:json4s-core_2.10:3.2.4 [S]
[info] | +-com.thoughtworks.paranamer:paranamer:2.5.2
[info] | +-org.json4s:json4s-ast_2.10:3.2.4 [S]
[info] | +-org.scala-lang:scalap:2.10.0
[info] | +-org.scala-lang:scala-compiler:2.10.0 [S]
[info] | +-org.scala-lang:scala-reflect:2.10.0 [S] (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] |
[info] +-org.scalaz:scalaz-core_2.10:7.2.0-M2 [S]
[info] +-org.scalikejdbc:scalikejdbc-config_2.10:2.2.7 [S]
[info] | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | +-com.typesafe:config:1.3.0
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] | |
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] |
[info] +-org.scalikejdbc:scalikejdbc_2.10:2.2.7 [S]
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] | |
[info] | +-org.scalikejdbc:scalikejdbc-interpolation_2.10:2.2.7 [S]
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] | |
[info] | +-org.scalikejdbc:scalikejdbc-interpolation-macro_2.10:2.2.7 [S]
[info] | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] | |
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] |
[info] +-org.slf4j:slf4j-simple:1.7.12
[info] +-org.slf4j:slf4j-api:1.7.12
[info]
sbt 关于
:
[info] Loading global plugins from /Users/ixaxaar/.sbt/0.13/plugins
[info] Loading project definition from /Users/ixaxaar/src/cerebro/project
[info] Set current project to cerebro (in build file:/Users/ixaxaar/src/cerebro/)
[info] Updating {file:/Users/ixaxaar/src/cerebro/}cerebro...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] This is sbt 0.13.0
[info] The current project is {file:/Users/ixaxaar/src/cerebro/}cerebro 1.0
[info] The current project is built against Scala 2.10.4
[info] Available Plugins: net.virtualvoid.sbt.graph.Plugin, sbtassembly.Plugin, com.github.retronym.SbtOneJar
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.2
sbt 测试
:
[info] Loading global plugins from /Users/ixaxaar/.sbt/0.13/plugins
[info] Loading project definition from /Users/ixaxaar/src/cerebro/project
[info] Set current project to cerebro (in build file:/Users/ixaxaar/src/cerebro/)
java.lang.IncompatibleClassChangeError: Found class scalaz.Memo, but interface was expected
at org.specs2.main.Extract$class.$init$(Arguments.scala:460)
at org.specs2.main.Arguments$.<init>(Arguments.scala:112)
at org.specs2.main.Arguments$.<clinit>(Arguments.scala)
at org.specs2.runner.SbtRunner.<init>(SbtRunner.scala:49)
at org.specs2.runner.Specs2Framework.runner(SbtRunner.scala:25)
at org.specs2.runner.Specs2Framework.runner(SbtRunner.scala:21)
at sbt.Defaults$$anonfun$createTestRunners$1.apply(Defaults.scala:478)
at sbt.Defaults$$anonfun$createTestRunners$1.apply(Defaults.scala:473)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.Map$Map3.foreach(Map.scala:154)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at sbt.Defaults$.createTestRunners(Defaults.scala:473)
at sbt.Defaults$.allTestGroupsTask(Defaults.scala:484)
at sbt.Defaults$$anonfun$testTasks$4.apply(Defaults.scala:361)
at sbt.Defaults$$anonfun$testTasks$4.apply(Defaults.scala:361)
at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:35)
at scala.Function7$$anonfun$tupled$1.apply(Function7.scala:34)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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] (test:executeTests) java.lang.IncompatibleClassChangeError: Found class scalaz.Memo, but interface was expected
[error] Total time: 2 s, completed 18 Aug, 2015 4:25:37 PM
编辑:sbt test:dependencyGraph
:
[info] +-ch.qos.logback:logback-classic:1.1.3
[info] | +-ch.qos.logback:logback-core:1.1.3
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] | +-org.slf4j:slf4j-api:1.7.7 (evicted by: 1.7.12)
[info] |
[info] +-com.github.tototoshi:scala-csv_2.10:1.2.1 [S]
[info] +-com.h2database:h2:1.4.187
[info] +-com.typesafe.akka:akka-actor_2.10:2.3.6 [S]
[info] | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | +-com.typesafe:config:1.3.0
[info] |
[info] +-com.typesafe.akka:akka-testkit_2.10:2.3.6 [S]
[info] | +-com.typesafe.akka:akka-actor_2.10:2.3.6 [S]
[info] | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | +-com.typesafe:config:1.3.0
[info] |
[info] +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] +-com.typesafe:config:1.3.0
[info] +-com.typesafe:scalalogging-slf4j_2.10:1.1.0
[info] | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] | +-org.slf4j:slf4j-api:1.7.5 (evicted by: 1.7.12)
[info] |
[info] +-edu.stanford.nlp:stanford-corenlp:3.5.2
[info] | +-com.googlecode.efficient-java-matrix-library:ejml:0.23
[info] | +-com.io7m.xom:xom:1.2.10
[info] | | +-xalan:xalan:2.7.0
[info] | | | +-xml-apis:xml-apis:1.3.03
[info] | | | +-xml-apis:xml-apis:2.0.2 (evicted by: 1.3.03)
[info] | | |
[info] | | +-xerces:xercesImpl:2.8.0
[info] | | | +-xml-apis:xml-apis:1.3.03
[info] | | |
[info] | | +-xml-apis:xml-apis:1.3.03
[info] | |
[info] | +-de.jollyday:jollyday:0.4.7
[info] | | +-javax.xml.bind:jaxb-api:2.2.7
[info] | | +-joda-time:joda-time:2.1 (evicted by: 2.8)
[info] | | +-joda-time:joda-time:2.8
[info] | |
[info] | +-javax.json:javax.json-api:1.0
[info] | +-joda-time:joda-time:2.1 (evicted by: 2.8)
[info] | +-joda-time:joda-time:2.8
[info] |
[info] +-edu.stanford.nlp:stanford-parser:3.5.2
[info] | +-com.googlecode.efficient-java-matrix-library:ejml:0.23
[info] |
[info] +-io.spray:spray-can_2.10:1.3.2 [S]
[info] | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | +-org.parboiled:parboiled-core:1.1.6
[info] | |
[info] | +-io.spray:spray-io_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | | +-org.parboiled:parboiled-core:1.1.6
[info] | | |
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | |
[info] | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] |
[info] +-io.spray:spray-routing_2.10:1.3.2 [S]
[info] | +-com.chuusai:shapeless_2.10:1.2.4 [S]
[info] | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | +-org.parboiled:parboiled-core:1.1.6
[info] | |
[info] | +-io.spray:spray-httpx_2.10:1.3.2 [S]
[info] | | +-io.spray:spray-http_2.10:1.3.2 [S]
[info] | | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | | +-org.parboiled:parboiled-scala_2.10:1.1.6 [S]
[info] | | | +-org.parboiled:parboiled-core:1.1.6
[info] | | |
[info] | | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | | +-org.jvnet.mimepull:mimepull:1.9.4
[info] | |
[info] | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] |
[info] +-io.spray:spray-testkit_2.10:1.3.2 [S]
[info] | +-com.typesafe.akka:akka-testkit_2.10:2.3.6 [S]
[info] | | +-com.typesafe.akka:akka-actor_2.10:2.3.6 [S]
[info] | | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | | +-com.typesafe:config:1.3.0
[info] | |
[info] | +-io.spray:spray-util_2.10:1.3.2 [S]
[info] | +-org.specs2:specs2_2.10:2.3.10 [S]
[info] | +-junit:junit:4.11
[info] | | +-org.hamcrest:hamcrest-core:1.3
[info] | |
[info] | +-org.hamcrest:hamcrest-core:1.3
[info] | +-org.mockito:mockito-core:1.9.5
[info] | | +-org.hamcrest:hamcrest-core:1.1 (evicted by: 1.3)
[info] | | +-org.hamcrest:hamcrest-core:1.3
[info] | | +-org.objenesis:objenesis:1.0
[info] | |
[info] | +-org.pegdown:pegdown:1.2.1
[info] | | +-org.parboiled:parboiled-java:1.1.4
[info] | | +-org.ow2.asm:asm-analysis:4.1
[info] | | | +-org.ow2.asm:asm-tree:4.1
[info] | | | +-org.ow2.asm:asm:4.1
[info] | | |
[info] | | +-org.ow2.asm:asm-tree:4.1
[info] | | | +-org.ow2.asm:asm:4.1
[info] | | |
[info] | | +-org.ow2.asm:asm-util:4.1
[info] | | | +-org.ow2.asm:asm-tree:4.1
[info] | | | +-org.ow2.asm:asm:4.1
[info] | | |
[info] | | +-org.ow2.asm:asm:4.1
[info] | | +-org.parboiled:parboiled-core:1.1.4 (evicted by: 1.1.6)
[info] | | +-org.parboiled:parboiled-core:1.1.6
[info] | |
[info] | +-org.scala-lang:scala-compiler:2.10.3 [S]
[info] | | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | |
[info] | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | +-org.scalacheck:scalacheck_2.10:1.11.3 [S]
[info] | | +-org.scala-sbt:test-interface:1.0
[info] | |
[info] | +-org.scalamacros:quasiquotes_2.10.3:2.0.0-M3 [S]
[info] | | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | |
[info] | +-org.scalaz:scalaz-concurrent_2.10:7.0.6 [S]
[info] | | +-org.scalaz:scalaz-core_2.10:7.0.6 (evicted by: 7.2.0-M2)
[info] | | +-org.scalaz:scalaz-core_2.10:7.2.0-M2 [S]
[info] | | +-org.scalaz:scalaz-effect_2.10:7.0.6 [S]
[info] | | +-org.scalaz:scalaz-core_2.10:7.0.6 (evicted by: 7.2.0-M2)
[info] | | +-org.scalaz:scalaz-core_2.10:7.2.0-M2 [S]
[info] | |
[info] | +-org.scalaz:scalaz-core_2.10:7.0.6 (evicted by: 7.2.0-M2)
[info] | +-org.scalaz:scalaz-core_2.10:7.2.0-M2 [S]
[info] | +-org.specs2:classycle:1.4.3
[info] |
[info] +-mysql:mysql-connector-java:5.1.36
[info] +-org.apache.lucene:lucene-analyzers-common:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-backward-codecs:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-codecs:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-core:5.2.1
[info] +-org.apache.lucene:lucene-facet:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-queryparser:5.2.1
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] | +-org.apache.lucene:lucene-sandbox:5.2.1
[info] |
[info] +-org.apache.lucene:lucene-suggest:5.2.1
[info] | +-org.apache.lucene:lucene-analyzers-common:5.2.1
[info] | | +-org.apache.lucene:lucene-core:5.2.1
[info] | |
[info] | +-org.apache.lucene:lucene-core:5.2.1
[info] | +-org.apache.lucene:lucene-misc:5.2.1
[info] | +-org.apache.lucene:lucene-queries:5.2.1
[info] |
[info] +-org.hsqldb:hsqldb:2.3.2
[info] +-org.json4s:json4s-native_2.10:3.2.4 [S]
[info] | +-org.json4s:json4s-core_2.10:3.2.4 [S]
[info] | +-com.thoughtworks.paranamer:paranamer:2.5.2
[info] | +-org.json4s:json4s-ast_2.10:3.2.4 [S]
[info] | +-org.scala-lang:scalap:2.10.0
[info] | +-org.scala-lang:scala-compiler:2.10.0 [S] (evicted by: 2.10.3)
[info] | | +-org.scala-lang:scala-reflect:2.10.0 [S] (evicted by: 2.10.5)
[info] | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | |
[info] | +-org.scala-lang:scala-compiler:2.10.3 [S]
[info] | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] |
[info] +-org.scalatest:scalatest_2.10:2.1.4 [S]
[info] | +-org.scala-lang:scala-reflect:2.10.3 (evicted by: 2.10.5)
[info] | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] |
[info] +-org.scalaz:scalaz-core_2.10:7.0.6 (evicted by: 7.2.0-M2)
[info] +-org.scalaz:scalaz-core_2.10:7.2.0-M2 [S]
[info] +-org.scalikejdbc:scalikejdbc-config_2.10:2.2.7 [S]
[info] | +-com.typesafe:config:1.2.1 (evicted by: 1.3.0)
[info] | +-com.typesafe:config:1.3.0
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | |
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] |
[info] +-org.scalikejdbc:scalikejdbc-test_2.10:2.2.7 [S]
[info] | +-org.scalikejdbc:scalikejdbc_2.10:2.2.7 [S]
[info] | | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | | +-commons-pool:commons-pool:1.5.4
[info] | | | |
[info] | | | +-joda-time:joda-time:2.8
[info] | | | +-org.joda:joda-convert:1.7
[info] | | | +-org.slf4j:slf4j-api:1.7.12
[info] | | |
[info] | | +-org.scalikejdbc:scalikejdbc-interpolation_2.10:2.2.7 [S]
[info] | | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | | +-commons-pool:commons-pool:1.5.4
[info] | | | |
[info] | | | +-joda-time:joda-time:2.8
[info] | | | +-org.joda:joda-convert:1.7
[info] | | | +-org.slf4j:slf4j-api:1.7.12
[info] | | |
[info] | | +-org.scalikejdbc:scalikejdbc-interpolation-macro_2.10:2.2.7 [S]
[info] | | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | | | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | | +-commons-pool:commons-pool:1.5.4
[info] | | | |
[info] | | | +-joda-time:joda-time:2.8
[info] | | | +-org.joda:joda-convert:1.7
[info] | | | +-org.slf4j:slf4j-api:1.7.12
[info] | | |
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | |
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] |
[info] +-org.scalikejdbc:scalikejdbc_2.10:2.2.7 [S]
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | |
[info] | +-org.scalikejdbc:scalikejdbc-interpolation_2.10:2.2.7 [S]
[info] | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | |
[info] | +-org.scalikejdbc:scalikejdbc-interpolation-macro_2.10:2.2.7 [S]
[info] | | +-org.scala-lang:scala-reflect:2.10.5 [S]
[info] | | +-org.scalikejdbc:scalikejdbc-core_2.10:2.2.7 [S]
[info] | | +-commons-dbcp:commons-dbcp:1.4
[info] | | | +-commons-pool:commons-pool:1.5.4
[info] | | |
[info] | | +-joda-time:joda-time:2.8
[info] | | +-org.joda:joda-convert:1.7
[info] | | +-org.slf4j:slf4j-api:1.7.12
[info] | |
[info] | +-org.slf4j:slf4j-api:1.7.12
[info] |
[info] +-org.slf4j:slf4j-simple:1.7.12
[info] +-org.slf4j:slf4j-api:1.7.12
最佳答案
当代码使用一个版本的 scalaz 编译并针对另一个不兼容的版本运行时,就会发生这种情况。
备忘录确实从 trait in 7.1 改变了到 abstract class in 7.2 .因为这是在测试期间发生的,所以您应该检查 sbt test:dependencyGraph
而不是 sbt dependencyGraph
。我猜如果你运行它,你会发现 specs2 依赖于 scalaz 7.1,这与你对 scalaz 7.2 的依赖不兼容
关于scala - Sbt 测试在使用 Scalaz 时抛出 IncompatibleClassChangeError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32070494/
我有一些 Scala 代码,它用两个不同版本的类型参数化函数做了一些漂亮的事情。我已经从我的应用程序中简化了很多,但最后我的代码充满了形式 w(f[Int],f[Double]) 的调用。哪里w()是
如果我在同一目录中有两个单独的未编译的 scala 文件: // hello.scala object hello { def world() = println("hello world") }
val schema = df.schema val x = df.flatMap(r => (0 until schema.length).map { idx => ((idx, r.g
环境: Play 2.3.0/Scala 2.11.1/IntelliJ 13.1 我使用 Typesafe Activator 1.2.1 用 Scala 2.11.1 创建一个新项目。项目创建好后
我只是想知道如何使用我自己的类扩展 Scala 控制台和“脚本”运行程序,以便我可以通过使用实际的 Scala 语言与其通信来实际使用我的代码?我应将 jar 放在哪里,以便无需临时配置即可从每个 S
我已经根据 README.md 文件安装了 ensime,但是,我在低级 ensime-server 缓冲区中出现以下错误: 信息: fatal error :scala.tools.nsc.Miss
我正在阅读《Scala 编程》一书。在书中,它说“一个函数文字被编译成一个类,当在运行时实例化时它是一个函数值”。并且它提到“函数值是对象,因此您可以根据需要将它们存储在变量中”。 所以我尝试检查函数
我有 hello world scala native 应用程序,想对此应用程序运行小型 scala 测试我使用通常的测试命令,但它抛出异常: NativeMain.scala object Nati
有few resources在网络上,在编写与代码模式匹配的 Scala 编译器插件方面很有指导意义,但这些对生成代码(构建符号树)没有帮助。我应该从哪里开始弄清楚如何做到这一点? (如果有比手动构建
我是 Scala 的新手。但是,我用 创建了一个中等大小的程序。斯卡拉 2.9.0 .现在我想使用一个仅适用于 的开源库斯卡拉 2.7.7 . 是吗可能 在我的 Scala 2.9.0 程序中使用这个
有没有办法在 Scala 2.11 中使用 scala-pickling? 我在 sonatype 存储库中尝试了唯一的 scala-pickling_2.11 工件,但它似乎不起作用。我收到消息:
这与命令行编译器选项无关。如何以编程方式获取代码内的 Scala 版本? 或者,Eclipse Scala 插件 v2 在哪里存储 scalac 的路径? 最佳答案 这无需访问 scala-compi
我正在阅读《Scala 编程》一书,并在第 6 章中的类 Rational 实现中遇到了一些问题。 这是我的 Rational 类的初始版本(基于本书) class Rational(numerato
我是 Scala 新手,我正在尝试开发一个使用自定义库的小项目。我在库内创建了一个mysql连接池。这是我的库的build.sbt organization := "com.learn" name :
我正在尝试运行一些 Scala 代码,只是暂时打印出“Hello”,但我希望在 SBT 项目中编译 Scala 代码之前运行 Scala 代码。我发现在 build.sbt 中有以下工作。 compi
Here链接到 maven Scala 插件使用。但没有提到它使用的究竟是什么 Scala 版本。我创建了具有以下配置的 Maven Scala 项目: org.scala-tools
我对 Scala 还很陌生,请多多包涵。我有一堆包裹在一个大数组中的 future 。 future 已经完成了查看几 TB 数据的辛勤工作,在我的应用程序结束时,我想总结上述 future 的所有结
我有一个 scala 宏,它依赖于通过包含其位置的静态字符串指定的任意 xml 文件。 def myMacro(path: String) = macro myMacroImpl def myMacr
这是我的功能: def sumOfSquaresOfOdd(in: Seq[Int]): Int = { in.filter(_%2==1).map(_*_).reduce(_+_) } 为什么我
这个问题在这里已经有了答案: Calculating the difference between two Java date instances (45 个答案) 关闭 5 年前。 所以我有一个这
我是一名优秀的程序员,十分优秀!