Getting the following error when trying to build the schema registry. I have tried various versions of kafka, but not sure what I need to do. Any help would be appreciated.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project kafka-schema-registry: Compilation failure: Compilation failure: [ERROR] /C:/projects/schema-registry/core/src/main/java/io/confluent/kafka/schemaregistry/masterelector/kafka/SchemaRegistryCoordinator.java:[25,37] cannot find symbol [ERROR] symbol: class Timer [ERROR] location: package org.apache.kafka.common.utils [ERROR] /C:/projects/schema-registry/core/src/main/java/io/confluent/kafka/schemaregistry/masterelector/kafka/SchemaRegistryCoordinator.java:[207,57] cannot find symbol [ERROR] symbol: class Timer [ERROR] location: class io.confluent.kafka.schemaregistry.masterelector.kafka.SchemaRegistryCoordinator [ERROR] /C:/projects/schema-registry/core/src/main/java/io/confluent/kafka/schemaregistry/masterelector/kafka/SchemaRegistryCoordinator.java:[98,36] cannot find symbol [ERROR] symbol: method timer(long) [ERROR] location: variable time of type org.apache.kafka.common.utils.Time [ERROR] /C:/projects/schema-registry/core/src/main/java/io/confluent/kafka/schemaregistry/masterelector/kafka/SchemaRegistryCoordinator.java:[114,23] cannot find symbol [ERROR] symbol: method timer(long) [ERROR] location: variable time of type org.apache.kafka.common.utils.Time [ERROR] -> [Help 1]