add rootPath in applicationContext