更新时间:2023-02-05 20:01:26
解决方案是从WAR模块中删除EJB类。我在EAR中的两个单独的模块(EJB和WAR)中具有相同的类,因此 Schedules
被注册了两次。包装过程中的一个愚蠢错误导致重复执行。
The solution was to remove the EJB class from a WAR module. I had the same class in two separate modules - the EJB and WAR - inside EAR and hence the Schedules
were registered twice. A silly mistake during packaging that resulted in the double execution.