- 博客(5)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 常用springboot注解
把最近项目中用到的注解拿出来解释了下,个人知识面有限,如有错误欢迎指正!1.SpringBoot/spring@SpringBootApplication:包含@Configuration、@EnableAutoConfiguration、@ComponentScan通常用在主类上。@Repository:用于标注数据访问组件,即DAO组件。@Service:用于标注业务层组件。 @RestCon
2017-04-21 16:47:26
2066
原创 io.lettuce.core.RedisCommandExecutionException: ERR no such key
io.lettuce.core.RedisCommandExecutionException: ERR no such key 是由spring-session 引起的BUG<dependency> <groupId>org.springframework.session</groupId> <artifactId>sp...
2018-08-24 16:29:46
34913
1
原创 springboot整合jooq
用的不多,算是个DEMO吧,如有错误欢迎指正pom文件<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jooq</artifactId></dependency><build> <plugins>
2017-05-17 17:38:36
3589
原创 springboot整合多个activemq
最近项目中出现了要整合多个ActiveMQ的需求,自己写了个基础的整合配置类,记录一下增加如下配置类/** * Created by wangyahui on 2017/05/15. */@Configurationpublic class ActiveMqConfig { @Bean(name = "firstConnectionFactory") @Primary
2017-05-17 17:00:14
2787
2
原创 解决【oracle】 IO 异常:The Network Adapter could not establish the connection
按照之前网上别人写的,错误分为以下几种:1.防火墙没关2.监听服务没开3.ip填写不正确,或者sid不正确最后我都试了都不行。可以试试如下:打开oracle安装目录->product->继续->继续->进入NETWORK->admin->修改listener.ora和 tnsnames.ora把里面的localhost换为本机的固定ip,重启oracle监听和服
2017-01-09 15:11:01
4991
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人