java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V

Spring JIRA | Ittay Dror | 8 years ago
  1. 0

    I'm using SJC with SDM. I get the error below: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access500(AbstractDelegatedExecutionApplicationContext.java:54) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.run(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:264) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.run(DependencyWaiterApplicationContextExecutor.java:148) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V at org.example.foo.web.examples.common.internal.Config18335EnhancerByCGLIB18335cf3405dd.afterPropertiesSet(<generated>) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334) ... 17 more

    Spring JIRA | 8 years ago | Ittay Dror
    java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V
  2. 0

    I'm using SJC with SDM. I get the error below: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access500(AbstractDelegatedExecutionApplicationContext.java:54) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.run(AbstractDelegatedExecutionApplicationContext.java:288) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:264) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.run(DependencyWaiterApplicationContextExecutor.java:148) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V at org.example.foo.web.examples.common.internal.Config18335EnhancerByCGLIB18335cf3405dd.afterPropertiesSet(<generated>) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334) ... 17 more

    Spring JIRA | 8 years ago | Ittay Dror
    java.lang.NoSuchMethodError: org.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V
  3. 0

    Crash in TileAlloySmelter server-side.

    GitHub | 3 years ago | tetious
    java.lang.NoSuchMethodError: mrtjp.projectred.tiles.TileAlloySmelter.spawnParticles()V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V

    Stack Overflow | 3 years ago | tamas.mahr
    java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V
  6. 0

    Callback uri not openning in google api installed application

    Stack Overflow | 3 years ago | azrosen92
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.flushBuffer()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.example.foo.web.examples.common.internal.Config.afterPropertiesSet()V

      at org.example.foo.web.examples.common.internal.Config18335EnhancerByCGLIB18335cf3405dd.afterPropertiesSet()
    2. org.example.foo
      Config18335EnhancerByCGLIB18335cf3405dd.afterPropertiesSet
      1. org.example.foo.web.examples.common.internal.Config18335EnhancerByCGLIB18335cf3405dd.afterPropertiesSet(<generated>)
      1 frame
    3. Spring Beans
      AbstractAutowireCapableBeanFactory.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.run(AbstractAutowireCapableBeanFactory.java:409)
      4 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      7 frames
    6. Spring Context
      AbstractApplicationContext.finishBeanFactoryInitialization
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
      1 frame
    7. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.completeRefresh
      1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access500(AbstractDelegatedExecutionApplicationContext.java:54)
      2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.run(AbstractDelegatedExecutionApplicationContext.java:288)
      3. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
      4. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:264)
      4 frames
    8. org.springframework.osgi
      DependencyWaiterApplicationContextExecutor.run
      1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.run(DependencyWaiterApplicationContextExecutor.java:148)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame