Is there an issue with the IDE's compilation mechanism?
***************************
APPLICATION FAILED TO START
***************************
Description:
Field qaRoundService in com.xxxx.RecordServiceImpl required a bean of type 'com.xxx.QaRoundService' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.xxxx.QaRoundService' in your configuration.
This problem occurs repeatedly, but if you directly use the Maven command to build, it will not occur. But using ideas for compilation has a high probability of occurrence.
At this point, I can only completely clear the idea and target cache in order to function properly. But this problem will happen again next time
Idea version: IntelliJ IDEA 2025.1.5.1 (Ultimate Edition)
Computer: macOs 14.4
Continuation: I have researched some information, such as
-Enable annotation processing: Preferences → Build, Execution, Deployment → Compiler → Annotation Processes → Check "Enable annotation processing"
-Delegate build and run to Maven: References → Build Tools → Maven → Runner → Check "Delegate IDE build/run actions to Maven"
None of them are effective. I have tried restarting my computer, clearing Maven cache, cleaning Maven repository, changing Maven version, and switching to Idea version (18, 24, 25)
I've been tortured for almost two months now
Let me add the structure of the package again. I'm not sure if it's an issue with the idea or mapstruct?

请先登录再写评论。
Y0hanes, could you please confirm if the issue is reproducible with the latest IntelliJ IDEA 2025.2.4? If so, would it be possible to provide us with a minimal reproducer? You can upload your file using our file sharing service: https://uploads.jetbrains.com/