Remove all .xml config files. Replace it by @Configuration class.