java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V

Spring JIRA | fatih.tekin | 4 years ago
  1. 0

    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; }

    Spring JIRA | 4 years ago | fatih.tekin
    java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V
  2. 0

    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; }

    Spring JIRA | 4 years ago | fatih.tekin
    java.lang.NoSuchMethodError: org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$after$org_springframework_transaction_aspectj_AbstractTransactionAspect$4$2a73e96c(Ljava/lang/Object;)V
  3. 0

    All Grails dependencies are duplicated in my Grails project

    YouTrack | 7 years ago
    java.lang.NoSuchMethodError: org.apache.tools.ant.UnknownElement.setRealThing(Ljava/lang/Object;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "previous change" not working from menu or keyboard shortcut

    YouTrack | 4 years ago
    java.lang.NoSuchMethodError: com.intellij.ide.util.PropertiesComponent.loadFields(Ljava/lang/Object;)V
  6. 0

    NoSuchMethod

    GitHub | 6 years ago | greenlaw110
    java.lang.NoSuchMethodError: com.google.code.morphia.Datastore.delete(Ljava/lang/Object;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.ericsson.enk
      PersistentEventServiceImpl.loadQueuedActions
      1. com.ericsson.enk.eventengine.db.service.impl.PersistentEventServiceImpl.loadQueuedActions(PersistentEventServiceImpl.java:59)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      3 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy49.loadQueuedActions
      1. $Proxy49.loadQueuedActions(Unknown Source)
      1 frame
    8. com.ericsson.enk
      Main.main
      1. com.ericsson.enk.eventengine.db.EventEngine.initializeActionQueue(EventEngine.java:106)
      2. com.ericsson.enk.eventengine.db.EventEngine.initilizeActionQueues(EventEngine.java:99)
      3. com.ericsson.enk.eventengine.db.EventEngine.startEventEngine(EventEngine.java:62)
      4. com.ericsson.enk.eventengine.db.EventEngine.run(EventEngine.java:55)
      5. com.ericsson.enk.m2m.ne.dispatcher.Main.main(Main.java:37)
      5 frames