title: Atomikos Hibernate 4.3.7 Causes Multiple Issues
body: <p>I have implemented a Spring project that uses Atomikos and Hibernate 3. Recently, I upgraded from Hibernate 3.6.10 to Hibernate 4.3.7 and I seem to get multiple issues. One of them being:</p>
  
  <pre><code>Caused by: java.lang.NoClassDefFoundError: com/atomikos/icatch/jta/hibernate3/TransactionManagerLookup
  </code></pre>
  
  <p>I also done the following:</p>
  
  <p>1) Added:
      "hibernate.transaction.jta.platform", com.example.transactionmanager.hibernate4only.AtomikosJtaPlatform // for Hibernate 4 only
      "hibernate.transaction.factory_class", CMTTransactionFactory; // for Hibernate 4 only</p>
  
  <p>2) Removed:
      hibernate.transaction.manager_lookup_class", TransactionManagerLookup // for Hibernate 3</p>
  
  <p>3) Removed:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.atomikos&lt;/groupId&gt;
      &lt;artifactId&gt;transactions-hibernate3&lt;/artifactId&gt;
      &lt;version&gt;3.9.3&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>This application is to be run as a standalone application. The project is located here: <a href="https://github.com/rajivj2/example2/" rel="nofollow">https://github.com/rajivj2/example2/</a></p>
  
  <p>Could you please tell me where I am going wrong? NotificationRouterIT.java contains the test where the problem is. This works perfectly when using Hibernate 3.</p>