package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableAutoConfiguration
public class EventingApplication {

	public static void main(String[] args) {
		SpringApplication.run(EventingApplication.class, args);
	}

}

package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class EventingApplication {

	public static void main(String[] args) {
		SpringApplication.run(EventingApplication.class, args);
	}

}

Remove unnecessary EnableAutoConfiguration