java.lang.IllegalStateException: More than one bean of type [ProductDao] found, you have to specify the name of the bean (@SpringBean(name="foo")) or (@Named("foo") if using @javax.inject classes) in order to resolve this conflict. Matched beans: carProductDao,phoneProductDao

wicket-users | RedCarpet | 2 years ago
  1. 0

    SpringBean doesn't support Generics?

    wicket-users | 2 years ago | RedCarpet
    java.lang.IllegalStateException: More than one bean of type [ProductDao] found, you have to specify the name of the bean (@SpringBean(name="foo")) or (@Named("foo") if using @javax.inject classes) in order to resolve this conflict. Matched beans: carProductDao,phoneProductDao
  2. 0

    Java illegalstateexception-Bean type not found

    Stack Overflow | 3 years ago | MadasamySankarapandian
    java.lang.IllegalStateException: bean of type [org.jeyam.samson.consumer.service.StudentService] not found
  3. 0

    Injecting service beans doesnt work for Wicket pages mounted by AnnotatedMountScanner?

    Stack Overflow | 1 month ago | David Marko
    java.lang.IllegalStateException: Concrete bean could not be received from the application context for class: com.dubture.TestService.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NINAN / Mailing Lists

    sourceforge.net | 8 months ago
    org.apache.wicket.WicketRuntimeException: tester: unexpected
  6. 0

    NINAN / Mailing Lists

    sourceforge.net | 11 months ago
    org.apache.wicket.WicketRuntimeException: tester: unexpected

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      More than one bean of type [ProductDao] found, you have to specify the name of the bean (@SpringBean(name="foo")) or (@Named("foo") if using @javax.inject classes) in order to resolve this conflict. Matched beans: carProductDao,phoneProductDao

      at org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getBeanNameOfClass()
    2. Wicket Spring Integration
      AnnotProxyFieldValueFactory.getFieldValue
      1. org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getBeanNameOfClass(AnnotProxyFieldValueFactory.java:289)[AnnotProxyFieldValueFactory.class:6.18.0]
      2. org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getBeanName(AnnotProxyFieldValueFactory.java:198)[AnnotProxyFieldValueFactory.class:6.18.0]
      3. org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue(AnnotProxyFieldValueFactory.java:130)[AnnotProxyFieldValueFactory.class:6.18.0]
      3 frames
    3. Wicket IoC common code
      Injector.inject
      1. org.apache.wicket.injection.Injector.inject(Injector.java:111)[Injector.class:6.18.0]
      1 frame
    4. Wicket Spring Integration
      SpringComponentInjector.inject
      1. org.apache.wicket.spring.injection.annot.SpringComponentInjector.inject(SpringComponentInjector.java:124)[SpringComponentInjector.class:6.18.0]
      1 frame
    5. Unknown
      ProductPage$15.populateItem
      1. ProductModel.<init>(ProductModel.java:20)[ProductModel.class:na]
      2. ProductPage$15.populateItem(ProductPage.java:742)[ProductPage$15.class:na]
      2 frames