Spring通过注解得到的值为null,但getbean()可以得到。

可以加如struts2-spring-plugin-2.3.16.1.jar解决,不同版本对应不同的jar

你可能感兴趣的:(Spring通过注解得到的值为null,但getbean()可以得到。)