• Post Reply Bookmark Topic Watch Topic
  • New Topic

InvocationTargetException cause mere antlr.collections.AST.getLine

 
smile ab
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
smile ab
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes they have and i delete the old jar of 'atl' and then cleaned the project
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!