Sorry, I now realize this is a known interoperability problem with Java. See this question and the ticket. The only work around I know of is to create a small Java class just to disambiguate these calls.
More Related Contents:
- Scala Iterable[(String, Long)] to SortedMap[String,Long] or TreeMap[String, Long] sorted in decreasing order of value [closed]
- Add JAR files to a Spark job – spark-submit
- Does the JVM prevent tail call optimizations?
- Spark: How to map Python with Scala or Java User Defined Functions?
- Spark read file from S3 using sc.textFile (“s3n://…)
- Split list into multiple lists with fixed number of elements in java 8
- What are the best use cases for Akka framework [closed]
- Using Scala traits with implemented methods in Java
- Spark Strutured Streaming automatically converts timestamp to local time
- How can I update a broadcast variable in spark streaming?
- JavaFX entirely customized windows?
- Which programming languages can I use on Android Dalvik?
- Apache Spark – foreach Vs foreachPartition When to use What?
- Matrix Multiplication in Apache Spark [closed]
- Equivalent of Scala dropWhile
- Is there an equivalent of Scala’s Either in Java 8?
- Logging while testing through Gradle
- Java 8 Stream, getting head and tail
- How do I resolve “WILL_NOT_PERFORM” MS AD reply when trying to change password in scala w/ the unboundid LDAP SDK?
- Why does “split” on an empty string return a non-empty array?
- Is gzip format supported in Spark?
- How to combine multiple PNGs into one big PNG file?
- Change output filename prefix for DataFrame.write()
- How can I force Spark to execute code?
- How to convert a scala.List to a java.util.List?
- How to save models from ML Pipeline to S3 or HDFS?
- Java compile speed vs Scala compile speed
- Scala repl throws error
- How to make Eclipse see the changes in Play! compiled templates?
- How to compile and execute scala code at run-time in Scala3?