关于在hibernate中进行set注入时字母P大写,提示找不到此注入。
今天用搭框架的时候,以ePerformanceBiz第二字母P大写,在applicationContext.xml中进行
- Java code
<bean name="/ePerformance" class="com.ch.struts.action.EPerformanceAction"> <property name="ePerformanceBiz"> <ref bean="EPerformanceBiz"/> </property> </bean>
- Java code
private EPerformanceBiz ePerformanceBiz=null;public void setEPerformanceBiz(EPerformanceBiz performanceBiz) { ePerformanceBiz = performanceBiz;} private EPerformanceBiz eperBiz=null; public void setEperBiz(EPerformanceBiz eperBiz) { this.eperBiz = eperBiz; }求大神解释,这是与关键字冲突?还是与自己可能在编写代码中的关键名冲突???
[解决办法]
很久没有沙发了....求结果,看楼下的回答....