Announcement Announcement Module
No announcement yet.
CustomScopeConfigurer support in Spring 3.1.X Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • CustomScopeConfigurer support in Spring 3.1.X

    In spring 3.0 , to define a custom scope, I used the following in my application context

    <!-- Spring 3 custom declaration -->
    <bean class="org.springframework.beans.factory.config.Cu stomScopeConfigurer">
    <property name="scopes">
    <entry key="view">
    <bean class="" />

    But when migrating to 3.1.x, i get the following error.
    The stack trace is:

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.beans.factory.config.CustomSc opeConfigurer#0' defined in class path resource [core-applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL

    Namespace config is

    <beans xmlns=""
    xmlns:xsi="" xmlns:context=""
    xmlns:tx="" xmlns=""
    xmlns:aop="" xmlns:cache=""
    xsi:schemaLocation=" ttp://">

    Any help is greatly appreciated.