-
Jul 9th, 2008, 12:22 PM
#1
ClassFormatError: Absent Code attribute... ?
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules