Replace applicationContext.xml by @Configuration on Sample 00 and 01.