grails-core icon indicating copy to clipboard operation
grails-core copied to clipboard

spring-boot-devtools conflict with gradlew runCommand: custom command

Open shenbin0252 opened this issue 1 year ago • 2 comments

Expected Behavior

Run custom command success

Actual Behaviour

Context failed to load: No qualifying bean of type 'grails.plugins.GrailsPluginManager' available See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings 6 actionable tasks: 2 executed, 4 up-to-date <-------------> 0% WAITING

IDLE Context failed to load: No qualifying bean of type 'grails.plugins.GrailsPluginManager' available

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':runCommand'.

Process 'command 'D:\Depency\jdk-11.0.21\bin\java.exe'' finished with non-zero exit value 1

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org | Error Failed to execute a command (Use --stacktrace to see the full trace)

Steps To Reproduce

  1. create-app test
  2. cd test
  3. grails
  4. create-command test
  5. run-command test domain

Environment Information

Windows 11 Grails5.3.6 or Grails6.1.2 Jdk11

Example Application

No response

Version

5.3.6

shenbin0252 avatar May 19 '24 02:05 shenbin0252