'notebook_dir' has moved from NotebookApp to ServerApp

I have the initial two lines of prompts occuring while launching notebook on the browser. Ran through different suggestion across websites, none seemed to work. Any help will be useful.