![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
月光心事
如果有梦就追,至少不会后悔!
展开
-
springboot 集成rabbitmq
步骤一:导入maven依赖:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId></dependency>步骤二:引入RabbitMQ基本的配置...原创 2019-03-19 14:53:34 · 128 阅读 · 0 评论 -
springboot项目整合redis乱码
之前SSH项目redis乱码解决:<!-- 配置RedisTemplate --><bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate"> <property name="connectionFactory" ref="jedisConne...原创 2019-03-18 16:40:45 · 211 阅读 · 0 评论 -
springboot中使用@ConfigurationProperties注解无法读取到application.propeities
解决办法使用@ConfigurationProperties(prefix = "application")@PropertySource("classpath:application-redis.properties")替代eg:@ConfigurationProperties(prefix = "application")@PropertySource("class...原创 2019-03-18 16:44:25 · 12775 阅读 · 5 评论