Skip to content

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

Closed
@shenbin0252

Description

@shenbin0252

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions