java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Everythings works with 3.2.1.RELEASE but when upgraded to 3.2.2.RELEASE below exception occurs. java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V at com.ericsson.enk.eventengine.db.service.impl.PersistentEventServiceImpl.loadQueuedActions(PersistentEventServiceImpl.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy49.loadQueuedActions(Unknown Source) at com.ericsson.enk.eventengine.db.EventEngine.initializeActionQueue(EventEngine.java:106) at com.ericsson.enk.eventengine.db.EventEngine.initilizeActionQueues(EventEngine.java:99) at com.ericsson.enk.eventengine.db.EventEngine.startEventEngine(EventEngine.java:62) at com.ericsson.enk.eventengine.db.EventEngine.run(EventEngine.java:55) at com.ericsson.enk.m2m.ne.dispatcher.Main.main(Main.java:37) <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.3.1</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectj.version}</version> </dependency> </dependencies> <configuration> <source>1.6</source> <verbose>true</verbose> <complianceLevel>1.6</complianceLevel> <showWeaveInfo>false</showWeaveInfo> <aspectLibraries> <aspectLibrary> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </aspectLibrary> </aspectLibraries> </configuration> </plugin> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spring.version>3.2.2.RELEASE</spring.version> <aspectj.version>1.6.10</aspectj.version> </properties> @Override @Transactional public List<TransientEventAction> loadQueuedActions(long slaveId, EventActionState state, int maxResults) { return null; }
    via by fatih.tekin,
  • Everythings works with 3.2.1.RELEASE but when upgraded to 3.2.2.RELEASE below exception occurs. java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V at com.ericsson.enk.eventengine.db.service.impl.PersistentEventServiceImpl.loadQueuedActions(PersistentEventServiceImpl.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy49.loadQueuedActions(Unknown Source) at com.ericsson.enk.eventengine.db.EventEngine.initializeActionQueue(EventEngine.java:106) at com.ericsson.enk.eventengine.db.EventEngine.initilizeActionQueues(EventEngine.java:99) at com.ericsson.enk.eventengine.db.EventEngine.startEventEngine(EventEngine.java:62) at com.ericsson.enk.eventengine.db.EventEngine.run(EventEngine.java:55) at com.ericsson.enk.m2m.ne.dispatcher.Main.main(Main.java:37) <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.3.1</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectj.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectj.version}</version> </dependency> </dependencies> <configuration> <source>1.6</source> <verbose>true</verbose> <complianceLevel>1.6</complianceLevel> <showWeaveInfo>false</showWeaveInfo> <aspectLibraries> <aspectLibrary> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </aspectLibrary> </aspectLibraries> </configuration> </plugin> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <spring.version>3.2.2.RELEASE</spring.version> <aspectj.version>1.6.10</aspectj.version> </properties> @Override @Transactional public List<TransientEventAction> loadQueuedActions(long slaveId, EventActionState state, int maxResults) { return null; }
    via by fatih.tekin,
    • java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V at com.ericsson.enk.eventengine.db.service.impl.PersistentEventServiceImpl.loadQueuedActions(PersistentEventServiceImpl.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy49.loadQueuedActions(Unknown Source) at com.ericsson.enk.eventengine.db.EventEngine.initializeActionQueue(EventEngine.java:106) at com.ericsson.enk.eventengine.db.EventEngine.initilizeActionQueues(EventEngine.java:99) at com.ericsson.enk.eventengine.db.EventEngine.startEventEngine(EventEngine.java:62) at com.ericsson.enk.eventengine.db.EventEngine.run(EventEngine.java:55) at com.ericsson.enk.m2m.ne.dispatcher.Main.main(Main.java:37)
    No Bugmate found.