File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 1632

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
Similar Threads
Connecting to Oracle using Struts 2
Problem while downloading from a web-app deployed on JBoss 4.2.0-GA
NullPointerException at the SessionFactory create line.