Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXA version 2.2.18. Upgrade of SpringBoot to v2.5.12 resulted in the exception "Failed to retrieve localization for request url" #179

Open
CodingAnoop opened this issue Dec 1, 2022 · 1 comment

Comments

@CodingAnoop
Copy link

Using DXA version 2.2.18. Current version of Spring Boot: 2.1.17.RELEASE. When I tried to upgrade to 2.5.12, getting the following exception. Does DXA not support Spring Boot version 2.5.12?:

Failed to retrieve localization for request url....
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at com.sdl.webapp.common.impl.WebRequestContextImpl.localization(WebRequestContextImpl.java:256)

@dxasupport
Copy link
Contributor

The DXA is a Spring MVC application. The use of Spring Boot requires custom adaptations. I would advise using the latest version available (2.2.28), which is updated to using the latest version of the Spring MVC and take it from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants