You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"timestamp":"2024-07-01T09:06:31.252+00:00","status":500,"error":"Internal Server Error","path":"/"}
log:
2024-07-01T09:06:31.220Z WARN 1 --- [nio-8080-exec-1] .c.j.MappingJackson2HttpMessageConverter : Failed to evaluate Jackson serialization for type [class org.springframework.data.domain.PageImpl]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PageModelConverter': Failed to instantiate [org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PageModelConverter]: No default constructor found
please follow the steps in the repository README to reproduce
=========================================================
More discoveries:
there is the same result whether pageSerializationMode is specified or not. log of another case:
2024-07-01T09:24:55.564Z WARN 1 --- [nio-8080-exec-1] .c.j.MappingJackson2HttpMessageConverter : Failed to evaluate Jackson serialization for type [class org.springframework.data.domain.PageImpl]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PlainPageSerializationWarning': Failed to instantiate [org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PlainPageSerializationWarning]: No default constructor found
2024-07-01T09:24:55.595Z WARN 1 --- [nio-8080-exec-1] .c.j.MappingJackson2HttpMessageConverter : Failed to evaluate Jackson serialization for type [class org.springframework.data.domain.PageImpl]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PlainPageSerializationWarning': Failed to instantiate [org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PlainPageSerializationWarning]: No default constructor found
2024-07-01T09:24:55.596Z WARN 1 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: (was java.lang.UnsupportedOperationException)]
The text was updated successfully, but these errors were encountered:
With
@EnableSpringDataWebSupport
in graalvm native image, requests will always return 500Consider following code:
response:
log:
issue reproduction repository: https://github.com/czp3009/spring-EnableSpringDataWebSupport-not-working-in-native-image
please follow the steps in the repository README to reproduce
=========================================================
More discoveries:
there is the same result whether pageSerializationMode is specified or not. log of another case:
The text was updated successfully, but these errors were encountered: