org.springframework.beans.factory.access.BootstrapException

Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [SchedulerContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SchedulerContext' defined in URL [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobManagerDelegate' defined in class path resource [SchedulerContext.xml]: Cannot resolve reference to bean 'schedulerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [SchedulerContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException and below exception when scheduling jobs

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web1

  • via Unknown by Bindu Nagesh,
  • Stack trace

    • org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [SchedulerContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SchedulerContext' defined in URL [beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobManagerDelegate' defined in class path resource [SchedulerContext.xml]: Cannot resolve reference to bean 'schedulerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerFactoryBean' defined in class path resource [SchedulerContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException and below exception when scheduling jobs at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)

    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

    We couldn't find other users who have seen this exception.