- 博客(7)
- 问答 (3)
- 收藏
- 关注
原创 Servlet-web.xml 配置笔记
servlet2.3 web.xml配置<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> </web-app>servlet 2.4 web..
2022-05-13 02:25:28
149
原创 maven回忆录
一>>完全清理maven库本地默认地址的资源如果第一次拿到电脑,不确定是否已经还原安装完maven,找到setting文件。方法1,清理maven默认库中的文件找到 <!-- localRepository | The path to the local repository maven will use to store artifacts. |...
2019-01-08 16:19:37
266
原创 Spring Cloud 综合配置 结合feign hystrix eureka 以及yml配置
这个是启动类配置@SpringBootApplication //开启整体应用 @EnableEurekaClient //开启客户端服务发现@EnableCircuitBreaker //开启断路器支持@EnableFeignClients //开启feign支持public class PassionApp { @Bean //配置bean,配置在容器中 注意是配置! ...
2018-04-13 17:38:31
5765
原创 Eureka 心跳机制
Server服务端server: port: 8761eureka: client: #实例是否在eureka服务器上注册自己的信息以提供其他服务发现,默认为true register-with-eureka: false #此客户端是否获取eureka服务器注册表上的注册信息,默认为true fetch-registry: false server: #开启自...
2018-04-03 10:59:50
13822
原创 Spring Boot --properties配置
--总配置文件spring.profiles.active=[profile]server.port=8083spring.jackson.date-format=yyyy-MM-dd HH:mm:ssspring.jackson.time-zone=Asia/Chongqing--dev配置文件server.port=8080spring.jackson.da
2018-01-30 15:15:42
238
原创 Spring boot yml JPA MYBATIS Enviroment配置
spring: profiles: active: test datasource: username: root password: root driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/demo-security jpa
2018-01-30 15:11:41
1584
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人