连击 天
fork: star:
Jrebel 配置 修改rebel.xml /Users/<用户名>/Documents/mygit/work/aa/bb.war/src/main/resources/rebel.xml 内容:...
方式一:通过ApplicationContextAware 注入 package com.girltest.web.controller.common; import org.springframework.beans.BeansException; import org.springframework.context.Applicat...
解决过滤器中设置cookie无效的问题 代码现场 filterChain.doFilter(sessionSyncRequestWrapper, response); Cookie emailCook = WebServletUtil.getSelectedCookie(request.getCookies(), C...
有哪些方法 实现服务启动之后,马上执行相关操作? 方式一 :@PostConstruct 对类的要求 无,普通的java bean即可 例如: /*** * 执行完构造方法之后就会执行该方法 */ @PostConstruct public voi...
springboot集成mybatis application.yml 从哪里找到这些配置项: springboot 自己的配置项 https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties...
spring cloud RestTemplate消费者使用Hystrix进行容错和服务降级 (1)消费者如下 @RestController public class DcController { @Autowired ConsumerService consumerService; ...
参考 :https://github.com/dyc87112/SpringCloud-Learning.git 项目代码也来自 https://github.com/dyc87112/SpringCloud-Learning.git...
我们在程序中增加异常拦截器,出现代码异常时自动发送邮件,就能及时解决bug
1,服务器端要支持跨域 response.setHeader("Access-Control-Allow-Origin", "http://localhost:8080"); response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE,P...
没有更多内容
加载失败,请刷新页面
没有更多内容
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复