Good afternoon!
Suddenly, the method that just worked yesterday stopped working.
@GetMapping(
name = "searchNsi",
value = "/search/{nsiClassId}",
produces = "application/json")
public ResponseEntity<Page<NsiDto>> searchNsi(
@Parameter(description = "Идентификатор класса НСИ", required = true,
example = "\"0577334f-532a-4ef2-8df3-16d545f24db5\"")
@Validated @PathVariable("nsiClassId") NsiClass nsiClass,
@Validated @RequestParam(required = false, name = "filter", defaultValue = "") List<String> filter,
@Validated @RequestParam(required = false, name = "sorting", defaultValue = "") List<String> sorting,
@Validated @RequestParam(required = false, name = "offset", defaultValue = "0") Integer offset,
@Validated @RequestParam(required = false, name = "size", defaultValue = "1000") Integer size) throws NsiException {
var page = nsiService.listNsi(nsiClass, filter, sorting, offset, size);
return ResponseEntity.ok().body(page);
page - always returns empty.
The following warning appeared in the console:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils (file:/C:/Users/pavel/.m2/repository/org/springframework/spring-core/5.2.9.RELEASE/spring-core-5.2.9.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release```
HELP!!!!!
Comment From: sbrannen
Please use English when posting an issue in this repository so that everyone can read it.
I used Google Translate to your translate your text from Russian to English, and you can use that or a similar translation tool in the future.
Thanks
Comment From: sbrannen
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.