
spring
文章平均质量分 89
xiebinyuxyz
nothing to say
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring整合消息队列rabbitmq
1.首先是生产者配置 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context转载 2017-06-02 14:31:35 · 352 阅读 · 0 评论 -
Could not resolve placeholder原因分析及解决方案
1. 问题描述 在启动Junit跑单测加载资源配置文件的时候遇到以下异常信息: Java代码 Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'activity_template_id' in string value "${activity_template_id}" at o...转载 2018-04-18 10:16:33 · 62494 阅读 · 2 评论 -
java通过非request获取application
//HttpClient compile("org.apache.httpcomponents:httpclient:4.5.2") 获取: ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); HttpServle...原创 2019-01-10 09:29:57 · 744 阅读 · 0 评论