apache / apache/grails-core

Error Application class not found

Open
#15,896 4 comments 0 reactions 1 assignee Claimed by @Richardson-e View on GitHub
relates-to:spring-security
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

### Issue description

The Plugin Version: 6.1.1
Grails Version: 6.1.1
Java: 17.0.9" 2023-10-17 LTS

1. Add the dependency
```
implementation("org.grails.plugins:spring-security-core:6.1.1")
```

The `gradle.properties` file:
```
grailsVersion=6.1.1
grailsGradlePluginVersion=6.1.1
```

Run the following command from the Command Line/Terminal (from the project root):

```
./gradlew runCommand "-Pargs=s2-quickstart com.package.app User Role"
```

**Problem**

```
| Error Application class not found

> Task :runCommand FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runCommand'.
> Process 'command '/home/user/.sdkman/candidates/java/17.0.9-oracle/bin/java'' finished with non-zero exit value 1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.