Skip to content

ApplicationModule Verification Fails because Spring is unable to instantiation AuditorAware and DateTimeProvider refs for JPA Auditing #1379

@AJ198081

Description

@AJ198081

Just testing out Spring Modulith, and is very promising so far.

I have this repo where when I run the verification of application modules 'test', it fails as it is unable to instantiate the AuditingEntityConfig (NoSuchBeanDefinitionException)

Here is the AuditingEntityConfig

Interestingly, if I make both the AuditorAware and the DateTimeProvider beans as 'static', the module verification passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions