Spring学习
阿强真棒
这个作者很懒,什么都没留下…
展开
-
Spring的三种注入方式:
Type1接口注入: public class ClassA{ private InterfaceB classB; public doSomething(){ Object obj = Class.forName(Config.BImplementation).newInstance(); classB = (InterfaceB)ojb; classB.doIt转载 2017-09-29 14:23:46 · 263 阅读 · 0 评论 -
一个小小的Springboot项目遇到的mysql 报错The server time zone value 'Öйú±ê׼ʱ¼ä'
The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone 参考网上的有效解决方法:原创 2018-11-02 00:27:27 · 382 阅读 · 0 评论 -
Spsingboot学习mysql驱动报错This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The dri
报错截图: 解决办法:下图中的驱动换成com.mysql.cj.jdbc.Driver即可。原创 2018-11-02 00:33:08 · 24059 阅读 · 2 评论