groovy-language-server
                                
                                 groovy-language-server copied to clipboard
                                
                                    groovy-language-server copied to clipboard
                            
                            
                            
                        When using this with grails project it keeps complaining about duplicate definition as below
Hi there,
thanks for this plugin, this makes work with grails in emacs possible.
But there's one issue that, it keeps warning about follow
Invalid duplicate class definition of class LogicType : The sources /Users/.../Dropbox/Codes/grails-docker/grails-platform/grails-app/domain/LogicType.groovy and /Users/.../Dropbox/Codes/grails-docker/grails-platform/bin/default/grails-app/domain/LogicType.groovy each contain a class with the name LogicType.
Seems it just copy all the files from project root folder to <projectRoot>/bin/default folder, so caused the above issue happens
Is there anything I can check or configure to avoid this warning happens? when it happens, basically lsp related features will not be available and I have to manually delete the <projectRoot>/bin folder and restart the lsp server for it to work again.
Thanks.
For what it's worth, I'm seeing similar issues with Jenkins groovy scripts (pipeline, jobs DSL, etc.) in a larger repository.
Same issue in Visual Studio Code
Same in NeoVim.
same in emacs., waiting for any solution