SSH报错

1.SSH 加入HQL查询时,报错

antlr.collections.AST.getLine()I

2.百度发现是 因为struts 和 hibernate红都有antlr-2.7.2.jar,但两者版本不一样,故需要删除低版本的

3.在MyEclispe中 右击struts->BuildPath->ConfigueBuildPath

按下图去掉antlr-2.7.2.jar的勾选,即可

原文地址:https://www.cnblogs.com/albertfg/p/7468496.html