因为原来的程序没有使用spring。后来加spring的时候action有个地方的new没有改!!!

new了个新的实现层

使用spring向service里面注入dao不成功。

 

 不是spring管理的对象。

相关文章: