No beans of 'AuditEventRepository' type found. Spring Boot and Actuator 1.5.9.RELEASE

Answered

Hello.

 

Spring Boot and Actuator 1.5.9.RELEASE

InteliJ reports an error:

Could not autowire. No beans of 'AuditEventRepository' type found.

But this bean successfully creates in runtime.

 

Here is an example project where this bug is reproduced:

https://github.com/MyTempGitForCommunity/NoBeansOfAuditEventRepositoryTypeFound 

And screenrecord this error: https://youtu.be/KyvitXRS7AE 

 

IntelliJ IDEA 2017.2.6
Build #IU-172.4574.11, built on November 13, 2017
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.1

0
1 comment

I reported an issue to YouTrack: https://youtrack.jetbrains.com/issue/IDEA-182912. Please follow it for updates.

0

Please sign in to leave a comment.