摘要: maven中没有导入对应的jar包 阅读全文
posted @ 2019-05-02 22:27 qunincey 阅读(1870) 评论(0) 推荐(0)
摘要: spring重新整理归纳一 装配bean 线索Cues 笔记Notes 使用注解装配bean 使用注解装配bean 使用javaconfig配置 使用javaconfig配置 为什么方法名字写错之后,但是使用Autowired注解还是可以注入成功呢? 使用xml配置 使用xml配置 混合配置 混合配 阅读全文
posted @ 2019-04-27 18:36 qunincey 阅读(147) 评论(0) 推荐(0)
摘要: 1)fill_parent 设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或控件为fill_parent将强制性让它布满整个屏幕。 2) wrap_content 设置一个视图的 阅读全文
posted @ 2019-02-04 21:29 qunincey 阅读(202) 评论(0) 推荐(0)
摘要: 在学习微服务的过程中遇到这两个概念,趁现在弄懂了记录一下: 在多个服务之间要描述接口状态确实我之前想的太简单了,例如,http协议在性能上确实有点问题,而且最重要的是协议,RPC协议更多的是自定义协议,对于协议可以定义更多的协议头,而http协议不行,并且在性能上也逊色的多,但http学习成本低,方 阅读全文
posted @ 2019-01-06 00:00 qunincey 阅读(136) 评论(0) 推荐(0)
摘要: 今天运行项目的时候报了这跟错误,因为这个是lombokjar包,还以为跟lombok有关系,一直跟idea的lombok搞,调了好久,后来发现这篇回答 记录一下。 https://stackoverflow.com/questions/6642146/maven-failed-to-read-art 阅读全文
posted @ 2018-10-20 15:58 qunincey 阅读(2117) 评论(0) 推荐(0)
摘要: 在使用springboot配置thymeleaf的时候遇到这个错误 Error processing condition on org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration$ThymeleafW 阅读全文
posted @ 2018-10-11 21:02 qunincey 阅读(9968) 评论(0) 推荐(0)
摘要: 1.spring-boot启动的main入口 这个注解中import这个注解里 打断点后发现是把“”META-INF/spring-autoconfigure-metadata.properties“”这个文件变成一个properties返回 然后在org.springframework.boot下 阅读全文
posted @ 2018-09-30 21:30 qunincey 阅读(733) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u013725455/article/details/79352459 阅读全文
posted @ 2018-09-28 22:45 qunincey 阅读(516) 评论(0) 推荐(0)
摘要: 在学习yml配置springboot的时候,报出No converter found capable of converting from type 错误 我的yml配置 后来发现是 dog下没有加空格所以读取不到,被当成了string 阅读全文
posted @ 2018-09-28 21:42 qunincey 阅读(7011) 评论(0) 推荐(1)
摘要: property这个属性其实就是把方法变成属性,但要真正用起来,还是要遵守几个规范 第一种使用方式: 这种方法呢其实感觉没什么用呀,并不能少写代码,顶多在使用属性的时候少写几个get,set 第二种: 这种在我看来还有点用,直接声明属性,再加一个setter,但是注意一下 setter方法的名字一定 阅读全文
posted @ 2018-08-24 16:39 qunincey 阅读(130) 评论(0) 推荐(0)