score:1
Accepted answer
Since you didn't defined a Scala version for the project, when you do %%
to include ScalaTest it uses the default one of sbt which is 2.12
thus, causing a binary incompatibility.
I believe the best solution would be to define the proper Scala version of the project using scalaVersion := "2.13.8
and remove its explicit dependency.
Source: stackoverflow.com
Related Query
- pure java project with unit tests written using scalatest having compiler compatibility issue
- How to override guice modules in Playframework unit tests using ScalaTest
- How to get ScalaTest correctly reporting tests results when using scalacheck with Propspec and PropertyCheck?
- Gatling load tests and ScalaTest unit tests in same Play project
- Building a project with mixed Scala and Java source files using Ant - illegal cyclic reference error
- How to run Scalatest with JUnit tests using maven plugin
- Unit tests working well with maven but won't run when using them with IntelliJ
- Is it possible to run both tests based on specs2 and scalatest in the same project with SBT
- Unable to compile spring boot project with java and scala using maven
- How to run unit test in a multi-module play project written in Java
- Test CRUD function in Playframework unit tests using ScalaTest
- Using Scala traits with implemented methods in Java
- Using a Java library with Scala reserved words
- Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project
- How to get logging working in scala unit tests with testng, slf4s, and logback
- Trying to cross compile a project to Scala 2.11 fails with "error while loading Object, Missing dependency 'object scala in compiler mirror'"
- Using JUnit @Rule with ScalaTest (e.g. TemporaryFolder)
- Why are integration tests in a Play/Scala project not executed when using "sbt it:test"?
- Run project with java options via sbt
- Intellij: SBT-based Scala project does not build with Java 9
- Using Scala with Java in Android Studio
- Exclude Specifically Tagged tests from SBT when using ScalaTest
- LibGDX project written in Scala, on Android, using IntelliJ
- Using Scala reflection with Java reflection
- Using Scala with Gradle for Android project
- Using scala.Future with Java 8 lambdas
- Problems using protobufs with java and scala
- Run tests in broken project using SBT
- Can I compile a Scala project with mixed java and scala code with dependencies both ways in Maven?
- Passing additional arguments to tests with ScalaTest
More Query from same tag
- How to make SBT not truncate its output?
- Matching a sublist in the middle of a list
- Validate JSON in Play framework without JSPath
- Scala - error: recursive variable name needs type
- DataFrame numPartitions default value
- ToolBox Import Error
- Type-safety for Patternmatching on Parameters with Dependent Types in Scala
- org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"
- How to truncate two uuid and generate new uuid in scala
- WrappedArray to Array in HiveQL
- Get a different result when calling the same function
- Sbt nested dependsOn
- Why I'm not able to declare variable of parameterized type initialized with null?
- how to simplify scala's function literal like this?
- Implementing a single Scala constructor that does more than set variables
- Table imported as parquet from sqoop not working in spark
- Scala, String representation of a function
- How do I read port configuration for my Spray Can?
- Scala: What is making this algorithm for Collatz Sequences so inefficient?
- NoClassDefFoundError: kafka/api/OffsetRequest for Storm jar
- How convert from trait with type member to case class with type parameter an viceversa
- Error while create Scala-Maven project on IntelliJ
- Why am I not able to return None from Future
- Scala: How do I get this toy covariant example to work?
- Use saved Spark mllib decision tree binary classification model to predict on new data
- Why two java/scala uber jars running on the same cluster bump into shading issues?
- How to test a Scala Play Framework websocket?
- scala avoiding return while still shortcuting iteration
- How to initialize global in Play 2.0 application
- How do pattern match assignments in for comprehensions translate into monadic operations?