org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.seederEntityReader': Scope 'step' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No context holder available for step scope

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

You don't have an active HTTP session when the bean is requested.

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

  • Error when creating JpaRepository
    via Stack Overflow by user292049
    ,
  • Handle mongodb connection issues on startup
    via Stack Overflow by TheZuck
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.seederEntityReader': Scope 'step' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No context holder available for step scope at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:355)

    Users with the same issue

    linxiaolong
    linxiaolong3 times, last one,
    marcbouvierdav
    marcbouvierdav11 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    5 more bugmates