package org.anaguma;

import org.anaguma.controller.IndexController;
import org.springframework.boot.SpringApplication;

/**
 * Application end point
 */
public class App
{
	public static void main(String[] arguments) {
		SpringApplication.run(IndexController.class, arguments);
	}
}

package org.anaguma;

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

@SpringBootApplication
public class App
{
	public static void main(String[] arguments) {
		SpringApplication.run(App.class, arguments);
	}
}

remove controller dependency