Skip to content

Predict specific object type in EhCacheFactoryBean [SPR-7843] #12499

Closed
@spring-projects-issues

Description

@spring-projects-issues

Andrei Stefan opened SPR-7843 and commented

The attached sample demonstrates the issue:

  • running Main class with the configuration as is throws a "NoSuchBeanDefinitionException: No matching bean of type [net.sf.ehcache.Cache]"
  • changing the context.xml to have "component-scan" on the last position runs without issues

Affects: 3.0.5

Attachments:

Referenced from: commits f5042d1, 0690b58

1 votes, 3 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions