Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4127

Depends-on bean not found when using Spring Data JPA namespace for custom Impl

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.4.RELEASE
    • Fix Version/s: None
    • Component/s: DATA
    • Labels:
      None

      Description

      I'm using the Spring Data namespace in my application context XML file, and hence I have this declaration:

      <jpa:repositories base-package="com.example.repository"
      entity-manager-factory-ref="customerEntityManagerFactory"
      transaction-manager-ref="customerTransactionManager" />

      However, the validation on this declaration gives me a lot of warnings like:
      "Depends-on bean 'myEntityRepositoryImpl' not found"

      All these warnings are referencing my repository custom implementation classes. If I understand it correctly, here STS is not correctly handling the "magic" behind Spring Data automatic custom implementation processing.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mauromol Mauro Molinari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: