title: How to config @RetryTransaction in Spring?
body: <p>I get this error  :</p>
  
  <pre><code>Getting “Deadlock found when trying to get lock; try restarting transaction”
  </code></pre>
  
  <p>I'm trying to resolve it using annotation RetryTransaction with @Transactionnal.</p>
  
  <p>But the annotation cannot be resolved to a type.</p>
  
  <p>What is the config to set in spring-config.xml to make it work ? or maybe supplementary dependecies to install ?</p>