Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using this with grails project it keeps complaining about duplicate definition as below #41

Open
xqliu opened this issue Mar 25, 2021 · 4 comments

Comments

@xqliu
Copy link

xqliu commented Mar 25, 2021

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.

@bgshacklett
Copy link

For what it's worth, I'm seeing similar issues with Jenkins groovy scripts (pipeline, jobs DSL, etc.) in a larger repository.

@pedrevans
Copy link

Same issue in Visual Studio Code

@madelaney
Copy link

Same in NeoVim.

@triHims
Copy link

triHims commented Jul 13, 2023

same in emacs., waiting for any solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants