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

7.0.1-SNAPSHOT - unable to resolve class groovy.jmx.GroovyMBean #111

Closed
codeconsole opened this issue Sep 17, 2024 · 5 comments
Closed

7.0.1-SNAPSHOT - unable to resolve class groovy.jmx.GroovyMBean #111

codeconsole opened this issue Sep 17, 2024 · 5 comments
Assignees

Comments

@codeconsole
Copy link
Contributor

Build broke with this commit

97556d8

Execution failed for task ':compileProfile'.
> startup failed:
  /home/runner/work/base/base/commands/stop-app.groovy: 5: unable to resolve class groovy.jmx.GroovyMBean
   @ line 5, column 1.
     import groovy.jmx.GroovyMBean
     ^
  
  1 error
@jamesfredley
Copy link
Contributor

The recent grails-gradle-plugin changes had caused it to be needed for the build to succeed on 9/11 and then more recent changes broke it again.

Here are the two actions that ran successfully after that line was added, which was needed at that time.

https://github.com/grails-profiles/base/actions/runs/10820139605
https://github.com/grails-profiles/base/actions/runs/10820148942

Here is it failing before that lines was added
https://github.com/grails-profiles/base/actions/runs/10820061958/job/30019287165

@jamesfredley
Copy link
Contributor

We need to stabilize grails-gradle-plugin and may need to undo a few recent changes, since it broke builds on other projects, like this one.

@jamesfredley
Copy link
Contributor

This is going to be fixed on grails-gradle-plugin

@codeconsole
Copy link
Contributor Author

@jamesfredley don’t you need some sort of reference to groovy-jmx in Groovy 4 to add that import?

@jamesfredley
Copy link
Contributor

This is fixed by grails/grails-gradle-plugin#333

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