报错解决:Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/}
pom文件的build中添加
<resources>
<resource>
<!-- 需要强制放入的目录 -->
<!-- 一般写为 <directory>src/main/java</directory> -->
<!--但是这里yml在resources文件夹中,就将地址写为 <directory>src/main</directory> 了-->
<directory>src/main</directory>
<includes>
<!-- 强制放入的文件类型 -->
<include>**/*.yml</include>
<include>**/*.xml</include>
</includes>
<!-- 是否替换资源中的属性 -->
<filtering>false</filtering>
</resource>
</resources>