我有像这样的并行执行设置
java.util.concurrent.RejectedExecutionException: Task ExecutorService$2@5486ec58 rejected from java.util.concurrent.ThreadPoolExecutor@7b993426[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 4]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
当我部署代码时,我遇到了这个异常:
{{1}}
当我删除.shutdown()时,我没有问题,但它会阻塞,直到1秒钟结束。关于导致这种情况的任何想法?