https://docs.oracle.com/javaee/6/tutorial/doc/gjbbk.htmlFor a web application to use a bean that injects another bean class, the bean needs to be able to hold state over the duration of the user’s interaction with the application. The way to define this state is to give the bean a scope. You can...【阅读全文】
今天在一个springMVC项目里出现以下报错Cannot convert value of type [java.lang.String] to required type [java.util.Date] for property 'xxx': no matching editors or conversion strategy found报错内容大概理解,就是前端输入给后台的是一个字符串,后台需要Date类型嘛,这之间的转换出错,解决办法是:在对...【阅读全文】