Spring Boot – Obtaining metric exception with CassandraConfig using Springboot

I am receiving the following exception during the start of the application. @EnableCassandraRepositories it is part of Request class

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name & # 39; session & # 39; defined in the class path resource [com/lte/assessmentanalytics/config/CassandraConfig.class]: Invoking the init method failed; the nested exception is java.lang.NoClassDefFoundError: com / codahale / metrics / Metric

Casandraconfig
@Configuration
Public class CassandraConfig extends AbstractCassandraConfiguration {
@Value ("$ {cassandra.contactpoints}")
Private chain ContactPoints;
@Value ("$ {cassandra.port}")
int private port;
@Value ("$ {cassandra.keyspace}")
String private keySpace;
@Value ("$ {cassandra.basePackages}")
String base of private packages;

                @Autowired
Private environment;

@Cancel
Protected string getKeyspaceName () {
return keySpace;
}

@Cancel
@Bean
cluster CassandraClusterFactoryBean public () {
Cluster of CassandraClusterFactoryBean final = new CassandraClusterFactoryBean ();
cluster.setContactPoints (contactPoints);
cluster.setPort (port);
return group
}

@Cancel
@Bean
CassandraMappingContext CassandraMapping () public launches ClassNotFoundException {
return new BasicCassandraMappingContext ();
}
}

pom.xml


            org.springframework.boot
            spring starter starter
            
                
                    io.dropwizard.metrics
                    metrics-core
                
            
        
        
            org.springframework.boot
            spring-boot-starter-data-cassandra
            
                
                    com.datastax.cassandra
                    cassandra-driver-core
                
                    
                        io.dropwizard.metrics
                        metrics-core
                    
            
        
        
            com.datastax.cassandra
            cassandra-driver-core
            
                
                    io.dropwizard.metrics
                    metric-core
                
            
        
        
            com.datastax.cassandra
            cassandra-driver-mapping