1:spring2.0以後,bean不再支持singleton屬性,改用scope="singleton/prototype"
This is a change which has been made in Spring 2.0 RC4. From the Spring change log:
spring-beans-2.0.dtd/xsd does not support singleton="true"/"false" anymore. Use scope="singleton/"prototype" instead!