-
Notifications
You must be signed in to change notification settings - Fork 36
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
Product missing groovy dependencies #238
Comments
@boris-petrov Yes, I understand gretty-sample seems more or less unmaintained, I got this error in my own project, but used gretty-sample to make it easy for you to reproduce. |
@boris-petrov That seems very reasonable. I'll have a look at the reproducer and the exact use-cases of the method you mentioned. |
@jhnesk - sorry for the delay. I've released 3.0.7 with the fix from @f4lco. Thanks to both of you for the issue report and the fix! I've also updated the gretty-sample project which now seems to work fine. |
With Gretty 3.0.6 when I try to run the built product it fails with exception:
Error: Could not find or load main class org.akhikhl.gretty.GrettyStarter
Caused by: java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
I have tried this with all versions between 3.0.1 and 3.0.6. Both 3.0.5 and 3.0.6 crashes, but they get different but similar exceptions.
Steps to reproduce:
$ ./gradlew buildProduct && ./build/output/gretty-sample/run.sh
$ sed -i 's/3.0.1/3.0.6/' build.gradle
$ ./gradlew buildProduct && ./build/output/gretty-sample/run.sh
I'm downgrading to 3.0.4 now and unfortunately I don't have time to investigate further or solve this and submit a PR at the moment.
Hopefully someone more familiar with Gretty can solve the issue faster. I have not yet tried 4.0
The text was updated successfully, but these errors were encountered: