One project among many started giving me the following error when running Gradle Tasks
-> application
-> bootRun
:
Error: Could not find or load main class
1.1,
However, the following both work:
- Running
./gradlew bootRun
from the command-line - Starting the service with STS
Boot Dashboard
It's odd that the Gradle Task window's execution is coming up with the class 1.1,
.
Ideas?
Configuration
- Windows 10 Pro
- STS 3.9.4.RELEASE
- Eclipse Buildship 2.2.1
- Gradle Wrapper 4.5.1
- Spring Boot 2.0.3.RELEASE
Attempts
- Ran
./gradlew clean build
- Refreshed
Gradle Tasks
in the window - Right-clicked project and ran
Gradle -> Refresh Gradle Project
- Restarted STS
- Deleted
./metadata
and restarted STS - Deleted
./bin
and./build
directories - Unloaded the project and re-imported as Gradle project
- Ran "STS -clean"
... always the same result