Open adivardhan opened 5 years ago
Switched to JDK 8 and it works!
Keeping the issue open as this needs to be fixed for JDK 12 (as its compatibility mentions JDK 8+)
I am using java 9 for both kafka and Kafka-manager. is the issue still persist in java 9. I am also getting the same error message.
I have moved to Java8 and Its working. If anyone fixes it for Java9 please post your solution.
[error] /Users/jon.doe/kafka-manager/kafka-manager/app/kafka/manager/utils/zero90/LogConfig.scala:176:11: ambiguous reference to overloaded definition, [error] both method putAll in class Properties of type (x$1: java.util.Map[, ])Unit [error] and method putAll in class Hashtable of type (x$1: java.util.Map[ <: Object, <: Object])Unit [error] match argument types (java.util.Map[$3,$4]) [error] props.putAll(defaults) [error] ^ [error] /Users/jon.doe/kafka-manager/kafka-manager/app/kafka/manager/utils/zero90/LogConfig.scala:177:11: ambiguous reference to overloaded definition, [error] both method putAll in class Properties of type (x$1: java.util.Map[, ])Unit [error] and method putAll in class Hashtable of type (x$1: java.util.Map[ <: Object, <: Object])Unit [error] match argument types (java.util.Properties) [error] props.putAll(overrides) [error] ^ [error] 12 errors found
Scala: 2.12 Java: JDK 12