use absolute path to initialize view resolver.