报错cannot be cast to javassist.util.proxy.Proxy 出现这种错误还有一个原因:hibernate和struts中都有javassit的jar包,把其中的低版本删除就行了。