Hello,
I’ve just updated myEclipse pro from 8.0 to 8.5.
I have a web project with Struts and Hibernate capabilities added.
After the update and after re-deploying my web project on Tomcat 6, I’m getting the following error when first access on DB:
java.lang.NoSuchMethodError: antlr.collections.AST.getLine().
I’ve discovered this problem comes from an antlr jar conflict in the Struts 1.3 libraries and the Hibernate 3.2 Core libraries.
The Struts libraries contain antlr-2.7.2.jar and the Hibernate one the antlr-2.7.6.jar.
The missing method is only included in the 2.7.6 antlr version.
After deployment, both jar files are included in my project, but it’s the 2.7.2 that is used.
If I remove manualy this library, the problem is solved.
Is there any possibility to avoid the 2.7.2 version to be deployed? It couldn’t prevent me having to remover the problematic jar file from my project after each deployment!
Many thanks in advance for your help.
Jerome.