This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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: 1646

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
subject: InvocationTargetException cause mere antlr.collections.AST.getLine
Similar Threads
Connecting to Oracle using Struts 2
NullPointerException at the SessionFactory create line.
Problem while downloading from a web-app deployed on JBoss 4.2.0-GA