原因: hibernate 和struts2 中都用到了了jar包 antlr-XXX.jar 但 struts2 中的jar包版本比hibernate中的jar包版本低,造成解析错误,所以可以把struts2中的jar包删除。 重新发布项目后会出现两个jar包,删掉版本低的jar包