[ 
https://issues.apache.org/jira/browse/WICKET-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872209#action_12872209
 ] 

Hudson commented on WICKET-2891:
--------------------------------

Integrated in Apache Wicket 1.5.x #72 (See 
[http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/72/])
    fixes WICKET-2891


> Typo in IllegalStateException when there are multiple beans of the same type
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-2891
>                 URL: https://issues.apache.org/jira/browse/WICKET-2891
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-spring
>    Affects Versions: 1.4.7
>         Environment: Windows 7, 64-bit
>            Reporter: Robin van Breukelen
>            Assignee: Jeremy Thomerson
>            Priority: Minor
>             Fix For: 1.4.10
>
>
> I have a test where there are multiple beans of the same type, I received the 
> following exception
> Caused by: java.lang.IllegalStateException: more then one bean of type 
> [MyClassName] found, you have to specify the name of the bean 
> (@SpringBean(name="foo")) in order to resolve this conflict. Matched beans: 
> MyClassNamer$$EnhancerByMockitoWithCGLIB$$f5bd36c9,MyClassName
> Please note how it states "then" rather than "than" since the sentence is 
> about multiple things, 'than' is the only appropriate word to use.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to