mstein / elasticsearch-grails-plugin

ElasticSearch grails plugin
Based on Graeme Rocher initial stub. Note that it is still in early stage.
Other
62 stars 164 forks source link

DataSource not found for name #80

Open wagego opened 5 years ago

wagego commented 5 years ago

Hi, I have the following issue. I have a plugin A (with its own domains) that is integrated into a project B. In project B, some project domains are overwritten. Once they are connected to a server base, the rest of the domains are still connected to mongoDB.

When it comes to the domains of the project b the mappeo a data source 'sqlserver' gives error: DataSource is not found for the name [sqlserver] in the configuration. Check the configuration of multiple data sources and try again. If I do not put the mapping, the domain is not overwritten and uses project A connecting to mongoDB

Use grails 2.5.6 and follow the steps in the documentation.

Some help? Thank you