See my code below. I've set up a test. All I'm trying to do at the moment is make sure I can retrieve data from the database (I haven't included the interfaces). Can you provide any tips?
I'm using spring 3.1.
There is something wrong with the configuration. I'm getting the following error:
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/C:/Workspace/test.jar!/com/mb/AAATestBean.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
My test bean to output the brands in the database:
Brand.java
BrandDAO
BrandBL
persistence.xml
applicationContext.xml