HI
I am facing strange error with Spring 3.1 on Websphere 8 when I am using <tx:annotation-driven I got below error.
I am not sure is it related to Spring version 3.1 or Websphere. I used Spring 3.0.0 on WAS 7 without any issue
Code:Caused by: java.lang.IllegalArgumentException: Wrong type at constant pool index at com.ibm.oti.reflect.AnnotationParser.getUTF8At(Native Method) at com.ibm.oti.reflect.AnnotationParser.parseAnnotation(AnnotationParser.java:122) at com.ibm.oti.reflect.AnnotationParser.parseAnnotations(AnnotationParser.java:57) at java.lang.Class.getDeclaredAnnotations(Class.java:1652) at java.lang.Class.getAnnotations(Class.java:1609) at java.lang.Class.getAnnotation(Class.java:1589) at org.springframework.core.annotation.AnnotationUtils.getAnnotation(AnnotationUtils.java:69) at org.springframework.transaction.annotation.SpringTransactionAnnotationParser.parseTransactionAnnotation(SpringTransactionAnnotationParser.java:38) at org.springframework.transaction.annotation.AnnotationTransactionAttributeSource.determineTransactionAttribute(AnnotationTransactionAttributeSource.java:134) at org.springframework.transaction.annotation.AnnotationTransactionAttributeSource.findTransactionAttribute(AnnotationTransactionAttributeSource.java:118) at org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource.computeTransactionAttribute(AbstractFallbackTransactionAttributeSource.java:152) at org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource.getTransactionAttribute(AbstractFallbackTransactionAttributeSource.java:99) at org.springframework.transaction.interceptor.TransactionAttributeSourcePointcut.matches(TransactionAttributeSourcePointcut.java:36) at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:226) at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:263) at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:295) at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:117) at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:87) at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:68) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ... 32 more


Reply With Quote