/*
 * Created on 29.03.2017
 * 
 * Copyright(c) 1995 - 2017 T-Systems Multimedia Solutions GmbH
 * Riesaer Str. 5, 01129 Dresden
 * All rights reserved.
 */

package de.bettinggame;

import org.springframework.beans.BeansException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Application starter and configuration.
 */
@SpringBootApplication
@EnableWebMvc
public class BettingGameWebApp extends WebMvcConfigurerAdapter {
    private ApplicationContext applicationContext;

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

@@ -180,57 +180,8 @@
 e;%0A%0A
-import org.springframework.beans.BeansException;%0A
 impo
@@ -300,194 +300,8 @@
 on;%0A
-import org.springframework.context.ApplicationContext;%0Aimport org.springframework.context.ApplicationContextAware;%0Aimport org.springframework.web.servlet.config.annotation.EnableWebMvc;%0A
 impo
@@ -452,16 +452,19 @@
 ication%0A
+// 
 @EnableW
@@ -537,59 +537,8 @@
 er %7B
-%0A    private ApplicationContext applicationContext;
 %0A%0A  

Remove @EnableWebMvc annotation