-
Notifications
You must be signed in to change notification settings - Fork 194
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
java.lang.module.FindException #1067
Comments
Can you describe the kind of project you created and how you are trying to run your script? I suspect some of the Java 9+ changes are impacting you. I can suggest some workarounds if I can get some more info on what you're trying to do. I am also presently trying to make changes to support JPMS (modular) projects. But the support is incomplete even in the current snapshot builds. |
I did it from scratch and now it seems to work with some warnings:
Do I use Groovy 3 or 2.4.17? Thank you in advance, Michal |
When you created the project, did it ask to create a module-info.java? That is, does your project now have a module-info.java at the root of the source folder? I have just finished building a snapshot version that will default to no module-info.java for a new Groovy Project. This should help with small projects for experimenting with Groovy. |
Groovy 3 will give you the fewest illegal access warnings at runtime. I suggest using it unless you have a specific need to use 2.4 or 2.5. |
Yes, it did ask to create In the Groovy project, I have Groovy Libraries and it contains:
However, on my system I have:
How do I know which version Thank you in advance, Michal |
Window > Preferences > Groovy > Compiler will show which compiler version is active and provides controls for switching to others. |
Thank you, the current Groovy compiler is 2.4.17 but I can not find how to change it. Could you please pin point where can I find how to change it? Thank you in advance, Michal |
If there were no buttons to switch to another version, you will need to install additional compilers first. You can do so under Help > Install New Software... |
Oops, I found it now but it only shows 2.4 or I don't care. I installed Groovy via SDKMAN. What should I use as a URL for Groovy in Help > Install New Software...? Thank you in advance, |
Update site URL depends on the release of eclipse you are using. Releases at the top, snapshots below: https://github.com/groovy/groovy-eclipse/wiki#releases |
Thank you, I installed the snapshot and now I am able to chose from 2.4, 2.5 and 3. Do you think it would be possible to choose the Groovy compiler while creating the the Groovy project? Thank you in advance, Michal |
See #396 |
Hi,
I download eclipse-jee-2019-12-R-linux-gtk-x86_64.tar.gz and installed the stable groovy-eclipse plugin.
However,
println "hello" // a comment till the end of the line
caused:What did I miss?
Thank you in advance,
Michal
The text was updated successfully, but these errors were encountered: