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

crnk 3.4.20210509072026 and spring-boot 2.6.0 #875

Open
eugenbesel opened this issue Jan 18, 2023 · 0 comments
Open

crnk 3.4.20210509072026 and spring-boot 2.6.0 #875

eugenbesel opened this issue Jan 18, 2023 · 0 comments

Comments

@eugenbesel
Copy link

Hello,

can anybody please tell me which max spring-boot version is supported with crnk?

I've tried spring-boot 2.6.0 and got following exception:
Caused by: java.lang.NoSuchMethodError: 'java.util.Map io.crnk.spring.setup.boot.mvc.CrnkErrorController.getErrorAttributes(javax.servlet.http.HttpServletRequest, boolean)'
at io.crnk.spring.setup.boot.mvc.CrnkErrorController.errorToJsonApi(CrnkErrorController.java:39)

there is no method getErrorAttributes(javax.servlet.http.HttpServletRequest, boolean) in AbstractErrorController in spring-boot 2.6.0.

I can find this method in spring-boot:2.2.6.RELASE, but this version is not compatible with JDK17 :(

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

1 participant