解决编译为jar后运行报循环依赖错误的问题

pull/15/head
Lawrence 2020-12-17 22:37:45 +08:00
parent ed1fe4b938
commit ae336ae494
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import com.genersoft.iot.vmp.conf.SipConfig; import com.genersoft.iot.vmp.conf.SipConfig;
@ -79,6 +80,7 @@ public class SIPProcessorFactory {
private CancelResponseProcessor cancelResponseProcessor; private CancelResponseProcessor cancelResponseProcessor;
@Autowired @Autowired
@Lazy
private RegisterResponseProcessor registerResponseProcessor; private RegisterResponseProcessor registerResponseProcessor;
@Autowired @Autowired