I am looking at integrating additional (Spring) be...
# questions
c
I am looking at integrating additional (Spring) beans under src/main/groovy It was my understanding that I could just annotate these with @Component and they'd be picked up. This doesn't seem to work for me. I can add them in the resources.groovy file and they would work there, albeit with constructor/method injection configured Is my understanding misplaced or do I have a config issue my side?
s
If you add
@ComponentScan('your.package.name')
on your
Application.groovy
class it should work.
❤️ 1
c
Thank you!