Relative Content

Tag Archive for spring-bootspring-mvcspring-boot-starter-parent

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]

Controller use WebAsyncTask for return, but webAsyncTask.onError() in method do not work

@GetMapping(“/test”) public WebAsyncTask<UserEntity> userMerge(Integer userId) { …… webAsyncTask.onError(() -> { System.out.println(“test”); }); } When I use spring-boot-starter-parent 2.2.6.RELEASE, I can call webAsyncTask.onError(); The callback cannot be performed from spring-boot-starter-parent 2.2.7.RELEASE to spring-boot-starter-parent 3.1.9. Starting with spring-boot-starter-parent 3.1.10, it can be called again. I looked at the source code and found that the version that does […]