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

UserPasswordEncoderListener.groovy: 8: unable to resolve class grails.events.annotation.gorm.Listener #996

Open
muehlboeck opened this issue Jan 4, 2024 · 2 comments

Comments

@muehlboeck
Copy link

Expected Behavior

application should run with
./gradlew bootRun

Actual Behaviour

./gradlew bootRun fails with:
UserPasswordEncoderListener.groovy: 8: unable to resolve class grails.events.annotation.gorm.Listener

Steps To Reproduce

sdk use grails 6.1.1
sdk use groovy 3.0.11
sdk use java 11.0.21-sem

grails create-app test
cd test
create file grails-app/conf/spring/resources.groovy
with content:
beans = {
}

./gradlew runCommand "-Pargs=s2-quickstart me.test.main User Role"

will complete

but:

./gradlew bootRun

fails

Environment Information

linux 22.04
sdk use grails 6.1.1
sdk use groovy 3.0.11
sdk use java 11.0.21-sem

Example Application

No response

Version

6.1.1

@matrei
Copy link
Contributor

matrei commented Jan 5, 2024

Should be fixed when 6.1.2 is released.

Can be worked around by adding:

implementation 'org.grails.plugins:events:5.0.2'
implementation 'org.grails.plugins:async:5.0.2'

Related grails/grails-core#13324 and grails/grails-core#13331

@muehlboeck
Copy link
Author

muehlboeck commented Jan 5, 2024 via email

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

2 participants