jQuery in Action, 2nd edition*
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
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
Author

InvocationTargetException cause mere antlr.collections.AST.getLine

smile ab
Greenhorn

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
Bartender

Joined: Mar 07, 2010
Posts: 1649
    
    7

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
Greenhorn

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: http://aspose.com/file-tools
 
subject: InvocationTargetException cause mere antlr.collections.AST.getLine