anitadc

Results 6 comments of anitadc

Yes. I am using spring-boot-maven-plugin 2.1.2

Difference is - I am calling this justify parser asynchronously using completablefuture and external executor

To generate issue, initialize JsonValidationService within child thread instead of static or Singleton object. Do below changes In your sample project - https://github.com/leadpony/justify/files/3916858/justify-examples-spring-boot.zip CompletableFuture.runAsync(()-> { JsonValidationService service = JsonValidationService.newInstance() ;...

> Thank you @anitadc > With your help, I reproduced the problem finally using both spring-boot-maven-plugin and `CompletableFuture`. > However the same problem occurs even without Justify. > Could you...

> I added a fallback logic to JsonValidationService#newInstance(). > Could you please test with the current snapshot? See Building from Source section in the top page of this repository. I...

Did you add this fallback logic in 2.1.0 version?? Kindly publish this in maven repository.