I'm getting the following error in output from tests:
rg.springframework.beans.factory.support.DefaultLi stableBeanFactory ERROR Destroy method on bean with name 'vendorKeyFilter' threw an exception
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/TransactionRequiredException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
....

for almost every bean I create. In this case, the VendorKeyFilter contains an autowired KeyRepository, defined in the context file like this:
<bean id="keyDao" class="com.lexi.db.KeyRepository">
<property name="dataSource" ref="writeDataSource" />
</bean>


Any ideas?