spring-servlet中出現(xiàn)問題
實(shí)際操作時(shí)報(bào)錯(cuò):Bean property'ignoreAcceptHeader' is not writable or has an invalid setter method. Does theparameter type of the setter match the return type of the getter? 需要將viewResolver 的bean class 改為 org.springframework.web.accept.ContentNegotiationManagerFactoryBean
2017-03-28
查看get set方法看看呢