History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16475
Type: Bug Bug
Status: Open Open
Assignee: Dmitry Avdeev
Reporter: chen libing
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Error: factory method 'toCharArray' cannot instantiate bean

Created: 22 Nov 07 06:20   Updated: 26 Nov 07 19:27
Component/s: J2EE.Spring

Build: 7,562
Severity: High


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.