Search code examples
spring-bootgoogle-cloud-platformgcloudgoogle-cloud-build

Failure: (ID: 838926df) did not find any jar files with a Main-Class manifest entry


when running gcloud app deploy on my spring boot app, this error happens in Cloud Build.


Solution

  • I deleted my maven plugin by accident, so don't delete it.

          <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
          </plugin>