cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

[PageNotFound] No mapping for GET /us

0 Kudos
3,501

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

adiputera
Active Participant
0 Kudos

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("/**")