take The redisutil instance obtained by springcontextholder is changed to and injected through the spring field. Use @ autoconfigureafter (redisutil. Class) Autoconfigureafter: enables the loading of workflowlistener in the After redisutil. In this way, redisutil has been loaded when the workflowlistener is loaded