Monday, June 11, 2012

java.lang.NoSuchMethodError: antlr.collections.AST.getLine() Struts Hibernate exception

Hi,

I recently got an error java.lang.NoSuchMethodError: antlr.collections.AST.getLine()

This error comes when there is a conflict in antlr jar file with struts 1.3 and hibernate 3. You need to remove antlr 2.7.2 jar file from struts 1.3 by clicking on myeclipse preferences > libraries.

If any questions, feel free to comment.

Thanks,

Ujjwal Soni

No comments: