Skip to content

cf push fails with jars generated with the Spring Boot 1.3.0 snapshot release #411

@dmikusa

Description

@dmikusa

Steps to reproduce:

  • Create new Maven project w/STS (I added Spring Boot Web Starter, but I don't think it's necessary), pick the 1.3.0 snapshot
  • Run mvn package
  • Run cf push <some-app-name> -p target/demo-0.0.1-SNAPSHOT.jar.

It will fail with the following:

 cf push my-boot-app -p target/demo-0.0.1-SNAPSHOT.jar
Updating app spring-boot-dan in org <org> / space development as <user>...
OK

Uploading <my-boot-app>...
FAILED
Error uploading application.
/var/folders/w4/g5kx6n_16330906jj_6nvqcc0000gp/T/apps009588947 is empty

The jar files can be extracted using a tool like jar or unzip and all of the files are present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions