You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:01:27 UTC
[I] Idea doesn't recognize beans under src/groovy in grails project [grails-intellij-plugin]
jdaugherty opened a new issue, #119:
URL: https://github.com/apache/grails-intellij-plugin/issues/119
Got Grails project.
I have spring beans defined in resources.xml under grails-app/conf/resources/
In this file I have a web service defined
**resources.xml**
```
<context:component-scan base-package="mydomain.web.source.alerting" />
.......
<jaxws:endpoint
xmlns:alerting="[http://alerting.mydomain.com/](http://alerting.mydomain.com/)"
id="AlertingService"
address="camel://direct:AlertingService"
serviceName="alerting:AlertingServiceService"
endpointName="alerting:AlertingServiceEndpoint"
implementor="#alrt"><!-- here #alrt highlighted red. Autocompletion also doesn't show this bean available-->
<jaxws:features>
<logging xmlns="[http://cxf.apache.org/core](http://cxf.apache.org/core)" />
</jaxws:features>
</jaxws:endpoint>
```
This bean references another bean with name 'alrt' defined under src/groovy
**alrt bean implementation**
```
package mydomain.web.source.alerting
@Component("alrt")
class AlertingServiceImpl implements AlertingService {
.........
}
```
In runtime everything works fine
---
*Imported from [IDEA-98124](https://youtrack.jetbrains.com/issue/IDEA-98124) · Type: Bug · Votes: 2*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org