package org.gbif.registry;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication(scanBasePackages = {"org.gbif.ws.server.interceptor", "org.gbif.ws.server.aspect",
  "org.gbif.ws.server.filter", "org.gbif.ws.security", "org.gbif.query", "org.gbif.registry"})
@MapperScan("org.gbif.registry.persistence.mapper")
@EnableConfigurationProperties
public class RegistryWsApplication {
  public static void main(String[] args) {
    SpringApplication.run(RegistryWsApplication.class, args);
  }
}

@@ -158,37 +158,210 @@
 ot.a
-utoconfigure.SpringBootApplic
+ctuate.autoconfigure.solr.SolrHealthContributorAutoConfiguration;%0Aimport org.springframework.boot.autoconfigure.SpringBootApplication;%0Aimport org.springframework.boot.autoconfigure.solr.SolrAutoConfigur
 atio
@@ -469,16 +469,19 @@
 ication(
+%0A  
 scanBase
@@ -492,16 +492,21 @@
 ages = %7B
+%0A    
 %22org.gbi
@@ -530,16 +530,20 @@
 ceptor%22,
+%0A   
  %22org.gb
@@ -566,16 +566,18 @@
 ect%22,%0A  
+ 
+ 
 %22org.gbi
@@ -596,16 +596,20 @@
 filter%22,
+%0A   
  %22org.gb
@@ -624,16 +624,20 @@
 curity%22,
+%0A   
  %22org.gb
@@ -646,16 +646,20 @@
 .query%22,
+%0A   
  %22org.gb
@@ -670,16 +670,117 @@
 egistry%22
+%7D,%0A  exclude = %7B%0A    SolrAutoConfiguration.class,%0A    SolrHealthContributorAutoConfiguration.class%0A  
 %7D)%0A@Mapp

Exclude spring-boot solr autoconfiguration