This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes InvocationTargetException cause mere antlr.collections.AST.getLine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "InvocationTargetException cause mere antlr.collections.AST.getLine " Watch "InvocationTargetException cause mere antlr.collections.AST.getLine " New topic

InvocationTargetException cause mere antlr.collections.AST.getLine

smile ab

Joined: Oct 09, 2012
Posts: 3
I have a problem adding data into the database when I add support to this error I'm using struts 2 and hibernate 3.2

I did a test in classe addaction to see in the beginning of the error display appears myeclipse that "**on va ajouter user**"
Bill Gorder

Joined: Mar 07, 2010
Posts: 1648

it appears struts and hibernate are using conflicting versions of antlr jar. Do a maven dependency tree and exclude it from whatever is pulling in the older version.

[How To Ask Questions][Read before you PM me]
smile ab

Joined: Oct 09, 2012
Posts: 3
yes they have and i delete the old jar of 'atl' and then cleaned the project
I agree. Here's the link:
subject: InvocationTargetException cause mere antlr.collections.AST.getLine