AppStarter.java

  1. package no.nav.data;

  2. import lombok.extern.slf4j.Slf4j;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
  6. import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

  7. @Slf4j
  8. @ConfigurationPropertiesScan
  9. @SpringBootApplication(exclude = {UserDetailsServiceAutoConfiguration.class})
  10. public class AppStarter {

  11.     public static void main(String[] args) {
  12.         SpringApplication.run(AppStarter.class, args);
  13.     }
  14. }