摘要:
报错如下: This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue May 11 23:40:56 CST 2021 There was an unexpected 阅读全文
摘要:
文件位置 C:\Windows\System32\drivers\etc\hosts 增加 #Eureka集群127.0.0.1 eureka7001.com127.0.0.1 eureka7002.com127.0.0.1 eureka7003.com 阅读全文
摘要:
1、扫包 1. 扫描指定类文件 @ComponentScan(basePackageClasses = Person.class)2. 扫描指定包,使用默认扫描规则,即被@Component, @Repository, @Service, @Controller或者已经声明过@Component自定 阅读全文