spring-projects / spring-projects/spring-plugin

BeanListFactoryBean does not have "lists" property

Open
#22 1 comment 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Aug 16, 2016.

Dominant language
Java
Stars
481
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Tried to configure spring-plug bean, BeanListFactoryBean, as per example in introduction. It seems there is no "lists" property in this bean (couldn't see it in the source either). The resultant exception is this:

SEVERE: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.plugin.core.support.BeanListFactoryBean#0' defined in class path resource [plugins-config-host.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'lists' of bean class [org.springframework.plugin.core.support.BeanListFactoryBean]: Bean property 'lists' 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:1512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) ...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.