on 2021 Aug 09 2:04 PM
We are doing migration from 1811 to 2011 hybris, our's is a multi country site, If we try to switch to different country, I keep getting 404 error, "[PageNotFound] No mapping for GET /us". [PageNotFound] No mapping for GET /uk.
I have tried debugging, Not able to findd the cause, any help will be really useful.
Request clarification before answering.
In DefaultPageController.java
Change @RequestMapping(method = RequestMethod.GET) on get method to @RequestMapping(value = "/**", method = RequestMethod.GET)
or just add (or uncomment and change) //@RequestMapping() on class level to @RequestMapping("/**")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.