java.lang.IllegalStateException: No Scope registered for scope




Asked on April 16, 2013
Hi I am trying to implement custom thread but stuck with the below error.

Exception in thread "main" java.lang.IllegalStateException: No Scope registered for scope
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:325)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)
   
Any Clue?



Replied on April 16, 2013
Neel, It looks that you have not registered the your registered scope with spring container. Find the link to understand 




Replied on April 16, 2013
Thanks Arvind.

The link you have provided is very helpful to create custom thread.


Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us