-
-
Notifications
You must be signed in to change notification settings - Fork 951
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.ClassNotFoundException: org.graalvm.polyglot.Context #13913
Comments
This issue is also in the latest 6.2.2 release for the Asset Pipeline upgrade from 4.3.0 to 4.5.1 |
This is also occurring in projects that do not include
running ./gradlew build on https://github.com/grails/gorm-mongodb/tree/more-grails-7-updates is a good current example. The tests do pass, but the exceptions are logged. |
Issue description
Occurs on Grails 6.2.2+ and Grails 7.0.x
Grails 6.2.2 uses asset-pipeline-gradle:4.5.1
Grails 7.0.x uses asset-pipeline-gradle:5.0.4+
Discussion and PR: bertramdev/asset-pipeline#352
Workaround:
This will end up being a somewhat frequent occurrence for those upgrading to Grails 7, that had been loading
asset-pipeline-gradle
inbuildSrc
orbuildscript{}
vs the new way inplugins{}
by id/version only.remove
com.bertramlabs.plugins:asset-pipeline-gradle
frombuildSrc/build.gradle
orbuildscript{}
inbuild.gradle
:implementation "com.bertramlabs.plugins:asset-pipeline-gradle:5.0.4"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:5.0.4"
also remove it from
settings.gradle
, if presentthen define in
build.gradle
only with id and version:The text was updated successfully, but these errors were encountered: