@@ -0,0 +1,1308 @@
+package pl.koszela.jan.controller;%0A%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.stereotype.Controller;%0Aimport org.springframework.ui.ModelMap;%0Aimport org.springframework.web.bind.annotation.PathVariable;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RequestMethod;%0A%0A/**%0A * Created on 09.08.2017.%0A *%0A * @author Jan Koszela%0A */%0A@Controller%0Apublic class BaseController %7B%0A%0A  private static int counter = 0;%0A  private static final String VIEW_INDEX = %22index%22;%0A  private final static org.slf4j.Logger LOGGER = LoggerFactory.getLogger(BaseController.class);%0A%0A  @RequestMapping(value = %22/%22, method = RequestMethod.GET)%0A  public String welcome(ModelMap model) %7B%0A%0A    model.addAttribute(%22message%22, %22Welcome%22);%0A    model.addAttribute(%22counter%22, ++counter);%0A    LOGGER.debug(%22%5Bwelcome%5D counter : %7B%7D%22, counter);%0A%0A    // Spring uses InternalResourceViewResolver and return back index.jsp%0A    return VIEW_INDEX;%0A%0A  %7D%0A%0A  @RequestMapping(value = %22/%7Bname%7D%22, method = RequestMethod.GET)%0A  public String welcomeName(@PathVariable String name, ModelMap model) %7B%0A%0A    model.addAttribute(%22message%22, %22Welcome %22 + name);%0A    model.addAttribute(%22counter%22, ++counter);%0A    LOGGER.debug(%22%5BwelcomeName%5D counter : %7B%7D%22, counter);%0A    return VIEW_INDEX;%0A%0A  %7D%0A%0A%7D

Add dummy controller