Today, I made a mistake in making the database changes, as follows:
Servlet.service () for servlet [SPRINGMVC] in context with path [/CMS] threw exception [Request processing failed; nested E Xception is com.yum.cms.exception.UnkownException:Error occurred in application.] With the root cause
com.yum.cms.exception.UnkownException:Error occurred in application.
A start in the background to set a breakpoint, the results of breakpoints are not used to think that the problem is the server, but finally found a similar problem in Baidu. Http://zhidao.baidu.com/link?url=dmPScW5iyip4_xd_ jss34piz4jn6bjdtd0u7mt8kdlrmtz6sk-k1wqjoqmxe8zdlbabrlatqvo20yzpgyqvlv_zrtqsqoa6hvs16fqpkf3w
Baidu said it was a SQL error, so I took a closer look at my SQL XML file:
<update id= "Updataczymanage" parametertype= "Com.yum.cms.acp.entity.listBeans" >
<![ Cdata[update czymanage set Proname=#{name},pronumber=#{number},prodist=#{dist},procaegory=#{caegory} where proid=#{ Id}]]>
</update>
The final discovery was that the ID was written incorrectly, and I called the following method
public void Updateczymanage (Listbeans listbeans) {
dao.update ("Productmapper.updateczymanage", Listbeans);
Id= "Updataczymanage" to Id= "updateczymanage", solve the problem.