404 while loading product/category page

I’m trying to setup a product page after upgrading from Litium 6. I changed the display template and selected controller and action. But when I load I get the 404 error as below and never hits the controller.
Same for Category page. But I could load normal pages.
Am i missing some setting to make work this?


Litium version: 7.1