Spring Boot: "no main manifest attribute"
Project ID: 56d9c164-0476-4afa-a370-4f5fa5bb0520
I'm trying to deploy a Spring Boot application, and the deploy logs say "no main manifest attribute, in build/libs/<project>.jar".
This seems similar to <#1042504739323138119>.
I've already tried setting both
springBoot.mainClass
and bootJar.mainClass
in my build.gradle
, but neither worked.5 Replies
Project ID:
56d9c164-0476-4afa-a370-4f5fa5bb0520
No search results found.
⚠️ experimental feature
I fixed it! Not entirely sure how, I think what fixed it was creating a
nixpacks.toml
to change the build task from build
to bootJar
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
It should be:
The start command is the default, I didn't have to customize that.