标签:erro tab def spring with dep lis hub details
https://www.cnblogs.com/edhg/p/10130112.html
https://blog.csdn.net/yudianxiaoxiao/article/details/93674293
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableFeignClients
@SpringBootApplication
public class WebappApplication{
public static void main(String[] args) {
SpringApplication.run(WebappApplication.class, args);
}
}
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableFeignClients
@SpringBootApplication
public class WebappApplication implements BeanFactoryPostProcessor {
@Override
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
BeanDefinition bd = beanFactory.getBeanDefinition("feignContext");
bd.setDependsOn("eurekaServiceRegistry", "inetUtils");
}
public static void main(String[] args) {
SpringApplication.run(WebappApplication.class, args);
}
}
netstat -ano| findstr "8002"
Get-Process -Id (Get-NetTCPConnection -LocalPort 8002).OwningProcess
taskkill /F /PID 6640
标签:erro tab def spring with dep lis hub details
原文地址:https://www.cnblogs.com/linus-tan/p/13037618.html