You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting useGrailsDatasource to true in the application.groovy birt configuration, I got an error saying that the dataSource was null. I was able to fix this by adding a line to the bean definition in resources.groovy (step 2 of the readme setup instructions)
The author of the stackoverflow answer mentions that there are a couple of other alternative solutions that I believe could be implemented using either applicationContext or grailsApplication in BirtReportService.groovy
The text was updated successfully, but these errors were encountered:
I remember having tested this and it worked -- at least when I released this version first. But of course, this depends on the way you use Autoconfiguration and so on.
I am quite sure, there are better ways to do this plugin. I just created it because I needed to migrate an old application which was still using BIRT. Fortunately we got rid of BIRT now, so this is for me a legacy project without maintenance.
After setting useGrailsDatasource to true in the application.groovy birt configuration, I got an error saying that the dataSource was null. I was able to fix this by adding a line to the bean definition in resources.groovy (step 2 of the readme setup instructions)
I figured this out by reading this stackoverflow answer:
https://stackoverflow.com/questions/21491074/grails-getting-the-data-source-in-a-normal-groovy-class
The author of the stackoverflow answer mentions that there are a couple of other alternative solutions that I believe could be implemented using either applicationContext or grailsApplication in BirtReportService.groovy
The text was updated successfully, but these errors were encountered: