score:16
Accepted answer
The way you import the dependency makes Scalacheck only available for the command test
:
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test"
You should use:
"org.scalacheck" %% "scalacheck" % "1.10.0"
But why do you use Scalacheck somewhere else than in tests ? See this link for more explanations about testing in sbt.
Source: stackoverflow.com
Related Query
- Why does sbt give "object scalacheck is not a member of package org" after successful scalacheck resolve?
- Why does sbt give "object swing is not a member of package scala" for import scala.swing?
- sbt - object apache is not a member of package org
- Error while running sbt package: object apache is not a member of package org
- Why am I getting object scalatest is not a member of package org
- Why does import ...RandomForest give "object RandomForest is not a member of package org.apache.spark.mllib.tree"?
- How do I run sbt test with scalatest? I had an error: object scalatest is not a member of package org
- Scala import not working - object <name> is not a member of package, sbt preppends current package namespace in imports
- Why does sbt build fail with "MissingRequirementError: object scala.runtime in compiler mirror not found."?
- scalatest : object scalatest is not a member of package org
- Why is my object not a member of package <root> if it's in a separate source file?
- Object spark is not a member of package org
- object scalatest is not a member of package org
- Why does sbt report "value enablePlugins is not a member of sbt.Project" in Play project?
- Why does console in IDEA 10 fail with "tools is not a member of package scala"?
- eclipse(set with scala envirnment) : object apache is not a member of package org
- Object apache is not a member of package org
- scala console error: object apache is not a member of package org
- Specs2 on OSX - error: object specs2 is not a member of package org
- Why does the Scala compiler give "value registerKryoClasses is not a member of org.apache.spark.SparkConf" for Spark 1.4?
- Error. Object apache is not a member of package org
- Scala IDE: object scalatest is not a member of package org
- sbt error: object spark is not a member of package org.apache
- object junit is not a member of package org
- Object is not a member of package error when sharing modules across multiple SBT project
- sbt assembly failing with error: object spark is not a member of package org.apache even though spark-core and spark-sql libraries are included
- object scalatest is not a member of package org [error] Cygwin
- object mockito is not a member of package org
- Why does getInt inside RDD[Row].map give "error: value getInt is not a member of Any"?
- Scala - object junit is not a member of package org
More Query from same tag
- Scala inheritance in function signature
- Packrat parsing HTTP
- Is it possible to create a collection api like Scala 2.8's in Haskell?
- IntelliJ: multi-module scala (SBT) project source code refactoring
- Set log level for scala-logging
- Eclipse scala "Could not find or load main class"
- Scala: it is possible to use generic type at runtime?
- How can I override the font in java.awt.Component with Scala?
- Probabilistic Programming in Scala
- Handling case classes in twitter chill (Scala interface to Kryo)?
- Play framework check whether a key exists
- When, exactly, does Scala code perform heap allocations?
- Import for getHourOfDay scala
- Monad transformer for Disjunction and Future
- Scala - pattern match against a type parameter?
- How can I use spark to writeStream data from a kafka topic into hdfs?
- Error: value r is not a member of String for a simple regex
- How to calculate number of occurrence of a character at beginning in a List of String using Scala
- How to split a sequence into two pieces by predicate?
- Hiding closure boilerplate with macros?
- How to depend on a sub-project of multimodule SBT project from Github
- Null as parameter default value in scala produces type mismatch error
- Is Scala mixin really better than multiple C++ inheritance?
- How extend behaviour of super actor in akka
- using a partial function for catch block with scala
- eclipse does not treat a scalatest flatspec as junit test
- Difference between type inference of method and class type parameters in pattern matching
- Converting a graph with custom nodes and edges to Dot format using Graph for Scala
- Spark scala create multiple columns from array column
- Scala regex and for comprehension