
|
If you were logged in you would be able to see more operations.
|
|
|
| Build: |
7,562
|
| Severity: |
High
|
|
I have following code in spring configuration xml file:
<bean id="token" class="java.lang.String">
<constructor-arg index="0" type="java.lang.String" value="foobar"/>
</bean>
<bean factory-bean="token" factory-method="toCharArray"/>
and IDEA report "factory method 'toCharArray' cannot instantiate bean" error, but it can work well in Spring.
|
|
Description
|
I have following code in spring configuration xml file:
<bean id="token" class="java.lang.String">
<constructor-arg index="0" type="java.lang.String" value="foobar"/>
</bean>
<bean factory-bean="token" factory-method="toCharArray"/>
and IDEA report "factory method 'toCharArray' cannot instantiate bean" error, but it can work well in Spring. |
Show » |
| There are no comments yet on this issue.
|
|