Jitin Dominic
06/18/2024, 6:34 AMsbglasius
06/18/2024, 6:50 AM⯠sdk current
Using:
grails: 4.0.12
java: 11.0.21-tem
⯠grails create-app sample
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/sbglasius/.sdkman/candidates/grails/4.0.12/lib/org.codehaus.groovy/groovy/jars/groovy-2.5.14.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
UserDir: /home/sbglasius/projects/sandbox
| Application created at /home/sbglasius/projects/sandbox/sample
So it works here, What is your OS? Mine is Linux (Ubuntu 22.04 LST)Jitin Dominic
06/18/2024, 7:00 AMsbglasius
06/18/2024, 7:35 AMJitin Dominic
06/18/2024, 7:36 AMJitin Dominic
06/18/2024, 7:36 AMJitin Dominic
06/18/2024, 7:36 AMJitin Dominic
06/18/2024, 7:36 AMsbglasius
06/18/2024, 7:36 AMJitin Dominic
06/18/2024, 7:36 AMJitin Dominic
06/18/2024, 7:36 AMsbglasius
06/18/2024, 7:38 AMgrails create-app sample
Jitin Dominic
06/18/2024, 7:39 AMJitin Dominic
06/18/2024, 7:39 AMsbglasius
06/18/2024, 7:39 AMgrails run-app
to see if it will resolve your dependencies.Jitin Dominic
06/18/2024, 7:41 AMsbglasius
06/18/2024, 7:41 AMJitin Dominic
06/18/2024, 7:42 AMpuneetbehl
06/18/2024, 6:49 PMgradle.properties
file) and your environment variables.
3. Clear Gradle and Maven Cache: Sometimes, cached artifacts can cause issues. Try clearing the Gradle cache by manually deleting the ~/.gradle
and the ~/.m2
folder.
4. Check Grails Version Compatibility: Ensure that Grails 4.0.12
is compatible with the versions of Java and other dependencies you're using (Try using Java 8).
If these steps don't resolve the issue, please provide more details or try running the command with the --verbose
flag to see the complete stack trace. This information will help in diagnosing the root cause of the error.
Best regards,
PuneetJitin Dominic
06/19/2024, 5:16 AM