摘要:
Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext.xml]; 该 阅读全文
posted @ 2018-11-01 18:09
寒潭渡鹤影
阅读(1003)
评论(0)
推荐(0)
摘要:
name是不能瞎写的,因为在ProxyFactoryBean中调用的方法名是: setInterceptorNames() 提一个问题 A a=new A(); a.setName("顺平"); 不是看A中的属性,而是看beans.xml中的属性。 比如方法名为setEE(),就去设置属性eE. ① 阅读全文
posted @ 2018-11-01 13:02
寒潭渡鹤影
阅读(309)
评论(0)
推荐(0)
摘要:
是合法的。这就是接口的多态。 阅读全文
posted @ 2018-11-01 11:16
寒潭渡鹤影
阅读(91)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-11-01 09:28
寒潭渡鹤影
阅读(262)
评论(0)
推荐(0)

浙公网安备 33010602011771号