标签:
1 0:33:34,690 ERROR Dispatcher:38 - Exception occurred during processing request: null 2 java.lang.NullPointerException 3 at com.major.adminaction.AdminMajorAction.edit(AdminMajorAction.java:46) 4 死活获取不了值。。 5 原因是xml 6 <bean id="adminMajorAction" class="com.major.adminaction.AdminMajorAction" scope="prototype"> 7 <!-- 注入Service --> 8 <property name="majorService" ref="majorService"/> 9 <!--用了它却没有配置--> 10 <property name="deptService" ref="deptService"/> 11 </bean>
标签:
原文地址:http://www.cnblogs.com/zzj123/p/4696671.html