org.springframework.beans.NotWritablePropertyException

Invalid property 'maxEntriesLocalHeap' of bean class [org.hippoecm.hst.site.container.BlockingEhCacheFactoryBean]: Bean property 'maxEntriesLocalHeap' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

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 web276

  • via Google Groups by Unknown author, 9 months ago
    Invalid property 'maxEntriesLocalHeap' of bean class [org.hippoecm.hst.site.container.BlockingEhCacheFactoryBean]: Bean property 'maxEntriesLocalHeap' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
  • Invalid property 'ps' of bean class [com.languageweaver.bigbird.mongo.DocValidationPairMongoDomain]: Bean property 'ps' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
  • via Google Groups by Michael O Holstein, 1 week ago
    Invalid property 'mfaRoleProcessor' of bean class [net.unicon.cas.mfa.web.support.RegisteredServiceAttributeMultiFactorAuthent icationArgumentExtractor]: Bean property 'mfaRoleProcessor' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
  • Stack trace

    • org.springframework.beans.NotWritablePropertyException: Invalid property 'maxEntriesLocalHeap' of bean class [org.hippoecm.hst.site.container.BlockingEhCacheFactoryBean]: Bean property 'maxEntriesLocalHeap' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.hippoecm.hst.site.container.SpringComponentManager.initialize(SpringComponentManager.java:149) at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initializeComponentManager(DefaultHstSiteConfigurer.java:281) at org.hippoecm.hst.site.container.DefaultHstSiteConfigurer.initialize(DefaultHstSiteConfigurer.java:243) at org.hippoecm.hst.site.container.HstContextLoaderListener.contextInitialized(HstContextLoaderListener.java:59) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'abstractBlockingEhCache$child#6fa3d1c' defined in class path resource [org/hippoecm/hst/site/container/SpringComponentManager-cache.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'maxEntriesLocalHeap' of bean class [org.hippoecm.hst.site.container.BlockingEhCacheFactoryBean]: Bean property 'maxEntriesLocalHeap' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1506) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299) ... 31 more Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'maxEntriesLocalHeap' of bean class [org.hippoecm.hst.site.container.BlockingEhCacheFactoryBean]: Bean property 'maxEntriesLocalHeap' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1067) at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:926) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1502) ... 35 more

    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

    Unknown user
    2 times, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 2 weeks ago
    26 more bugmates