我已经通过Spring启动了一个GemFire服务器和定位器,当我尝试从连接到定位器时,我得到了以下问题:Connecting to Locator at [host=localhostConnection refused: connect@Configuration @EnableGemfireRepositories
我在Servlet2.5容器中有一个spring引导配置,它在一个专门的安全上下文/特权操作上下文中手动启动。因此,从spring-boot-legacy提供的内容开始,我实现了自己的ContextLoaderListener并将其连接到web.xml中:
public class SecurityContextLoaderListenerspring boot会自动初始化,因此我无法在自己的安全上下文中手