- 博客(2)
- 收藏
- 关注
原创 问题:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource
springboot调用dubbo服务的时候,启动项目出现: Description: Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable dr...
2019-09-21 21:23:45 280 1
原创 Spring通过反射的方式在IOC容器中创建bean的理解
Spring通过反射的方式在IOC容器中创建bean的理解获取Class对象的三种方式通过类名获取 类名.class通过对象获取 对象名.getClass()通过全类名获取 class.forName(全类名)这里要说的是通过全类名获取bean 获取Class对象的三种方式 通过类名获取 类名.class 通过对象获取 对象名.getClass() 通过全类名获取 class.forName(全类...
2019-07-18 01:15:32 1102
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人