org.springframework.beans.factory.UnsatisfiedDependencyException

Error creating bean with name 'dataController': Unsatisfied dependency expressed through field 'dataService': Error creating bean with name 'inMemoryRealTimeDataService': Unsatisfied dependency expressed through field 'dataProcessorProvider': Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'inMemoryRealTimeDataService': Unsatisfied dependency expressed through field 'dataProcessorProvider': Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1306

  • 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs
  • via GitHub by vjpkumar
    , 2 months ago
    dependency expressed through field 'commonRestThreadExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonRestThreadExecutor' defined in class path resource [com/ul/ha/rest/config
  • org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class org.javers.spring.jpa.JaversTransactionalDecorator]: Common causes of this problem include using a final class or a non-visible class; nested exception is
  • Stack trace

    • org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataController': Unsatisfied dependency expressed through field 'dataService': Error creating bean with name 'inMemoryRealTimeDataService': Unsatisfied dependency expressed through field 'dataProcessorProvider': Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'inMemoryRealTimeDataService': Unsatisfied dependency expressed through field 'dataProcessorProvider': Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'realTimeDataProcessorProvider': Unsatisfied dependency expressed through field 'configurationService': Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultInstrumentConfigurationService' defined in URL [jar:file:/C:/work/ABB/leak_detection_v2/backend/instrument/data/config/build/libs/instrument-data-config-2.0.0-SNAPSHOT.jar!/com/lgr/leak/instrument/data/config/impl/DefaultInstrumentConfigurationService.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class com.lgr.leak.instrument.data.config.impl.DefaultInstrumentConfigurationService]: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 month ago
    8 times, 1 week ago
    24 times, 1 month ago
    Unknown user
    Once, 8 months ago
    Once, 10 months ago
    3 more bugmates