org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftphg2Application': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftpMessageSource' defined in com.ftp.hg.Ftphg2Application: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.core.MessageSource]: Circular reference involving containing bean 'ftphg2Application' - consider declaring the factory method as static for independence from its containing instance. Factory method 'ftpMessageSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftpInboundFileSynchronizer' defined in com.ftp.hg.Ftphg2Application: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizer]: Circular reference involving containing bean 'ftphg2Application' - consider declaring the factory method as static for independence from its containing instance. Factory method 'ftpInboundFileSynchronizer' threw exception; nested exception is java.lang.NoSuchFieldError: EXPRESSION_PARSER

Stack Overflow | viruskimera | 2 months ago
  1. 0

    Spring FTP Inbound channel Adapter Error

    Stack Overflow | 2 months ago | viruskimera
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftphg2Application': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftpMessageSource' defined in com.ftp.hg.Ftphg2Application: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.core.MessageSource]: Circular reference involving containing bean 'ftphg2Application' - consider declaring the factory method as static for independence from its containing instance. Factory method 'ftpMessageSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftpInboundFileSynchronizer' defined in com.ftp.hg.Ftphg2Application: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizer]: Circular reference involving containing bean 'ftphg2Application' - consider declaring the factory method as static for independence from its containing instance. Factory method 'ftpInboundFileSynchronizer' threw exception; nested exception is java.lang.NoSuchFieldError: EXPRESSION_PARSER
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.NoSuchFieldError: IBM_JAVA - www.scriptscoop.net

    scriptscoop.net | 11 months ago
    java.lang.NoSuchFieldError: TRACE
  4. 0

    September | 2015 | DG – Data Knowledge

    datageek.ch | 11 months ago
    java.lang.NoSuchFieldError: IBM_JAVA

    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.NoSuchFieldError

      EXPRESSION_PARSER

      at org.springframework.integration.file.DefaultFileNameGenerator.<init>()
    2. org.springframework.integration
      FtpInboundFileSynchronizer.<init>
      1. org.springframework.integration.file.DefaultFileNameGenerator.<init>(DefaultFileNameGenerator.java:45)[spring-integration-file-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.integration.file.remote.RemoteFileTemplate.<init>(RemoteFileTemplate.java:81)[spring-integration-file-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3. org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer.<init>(AbstractInboundFileSynchronizer.java:113)[spring-integration-file-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4. org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizer.<init>(FtpInboundFileSynchronizer.java:43)[spring-integration-ftp-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4 frames
    3. com.ftp.hg
      Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000$$FastClassBySpringCGLIB$$d1c2c48.invoke
      1. com.ftp.hg.Ftphg2Application.ftpInboundFileSynchronizer(Ftphg2Application.java:48)[classes/:na]
      2. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.CGLIB$ftpInboundFileSynchronizer$2(<generated>)[classes/:na]
      3. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000$$FastClassBySpringCGLIB$$d1c2c48.invoke(<generated>)[classes/:na]
      3 frames
    4. Spring Core
      MethodProxy.invokeSuper
      1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame
    5. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame
    6. com.ftp.hg
      Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.ftpInboundFileSynchronizer
      1. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.ftpInboundFileSynchronizer(<generated>)[classes/:na]
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_73]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_73]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_73]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_73]
      4 frames
    8. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      10 frames
    9. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:381)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame
    10. com.ftp.hg
      Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000$$FastClassBySpringCGLIB$$d1c2c48.invoke
      1. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.ftpInboundFileSynchronizer(<generated>)[classes/:na]
      2. com.ftp.hg.Ftphg2Application.ftpMessageSource(Ftphg2Application.java:59)[classes/:na]
      3. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.CGLIB$ftpMessageSource$3(<generated>)[classes/:na]
      4. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000$$FastClassBySpringCGLIB$$d1c2c48.invoke(<generated>)[classes/:na]
      4 frames
    11. Spring Core
      MethodProxy.invokeSuper
      1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame
    12. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      1 frame
    13. com.ftp.hg
      Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.ftpMessageSource
      1. com.ftp.hg.Ftphg2Application$$EnhancerBySpringCGLIB$$aa602000.ftpMessageSource(<generated>)[classes/:na]
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_73]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_73]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_73]
      4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_73]
      4 frames
    15. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      10 frames
    16. Spring Integration Core
      MessagingAnnotationPostProcessor$1.doWith
      1. org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor.resolveTargetBeanFromMethodWithBeanAnnotation(AbstractMethodAnnotationPostProcessor.java:335)[spring-integration-core-4.0.1.RELEASE.jar:na]
      2. org.springframework.integration.config.annotation.InboundChannelAdapterAnnotationPostProcessor.createMessageSource(InboundChannelAdapterAnnotationPostProcessor.java:75)[spring-integration-core-4.0.1.RELEASE.jar:na]
      3. org.springframework.integration.config.annotation.InboundChannelAdapterAnnotationPostProcessor.postProcess(InboundChannelAdapterAnnotationPostProcessor.java:61)[spring-integration-core-4.0.1.RELEASE.jar:na]
      4. org.springframework.integration.config.annotation.MessagingAnnotationPostProcessor$1.doWith(MessagingAnnotationPostProcessor.java:150)[spring-integration-core-4.0.1.RELEASE.jar:na]
      4 frames
    17. Spring Core
      ReflectionUtils.doWithMethods
      1. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:530)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:537)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2 frames
    18. Spring Integration Core
      MessagingAnnotationPostProcessor.postProcessAfterInitialization
      1. org.springframework.integration.config.annotation.MessagingAnnotationPostProcessor.postProcessAfterInitialization(MessagingAnnotationPostProcessor.java:130)[spring-integration-core-4.0.1.RELEASE.jar:na]
      1 frame
    19. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1588)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      9 frames
    20. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
      2 frames
    21. Spring Boot
      SpringApplicationBuilder.run
      1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
      2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
      4. org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
      4 frames
    22. com.ftp.hg
      Ftphg2Application.main
      1. com.ftp.hg.Ftphg2Application.main(Ftphg2Application.java:33)[classes/:na]
      1 frame