Downloaded Wise App doesn't deploy

Description

I built a 2.5.1 SDK, and then tried following the Quick Start.

I downloaded the Wise zip:

$ curl -O http://repository.cask.co/downloads/co/cask/cdap/apps/0.2.0/cdap-wise-0.2.0.zip

When I attempted to deploy the jar. I got an error:

$ /Users/john/Desktop/cdap-sdk-2.5.1/bin/cdap-cli.sh deploy app target/cdap-wise-0.2.0.jar
Error: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Main class attribute cannot be empty

I then downloaded the sources from github, and was able to successfully build and deploy the app.

Release Notes

None

Activity

Show:

John Jackson November 11, 2014 at 6:50 PM

A new version of WISE has been posted as of today.

John Jackson November 11, 2014 at 1:59 AM

Has this been posted/uploaded to repo?

Julien Guery November 11, 2014 at 1:31 AM

The problem was actually that the jar in the zip distribution was not containing everything it should have. I have released a new version of Wise to fix that - 0.2.1 - hence the links in the docs will have to change to point to this new version.

Alex Baranau November 10, 2014 at 11:31 PM

I guess you were trying to deploy the jar that was in the downloaded package. That one is screwed I assume so the fix would be to upload to http://repository.cask.co the zip with proper pre-built jars

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Fix versions

Priority

Created November 4, 2014 at 11:20 PM
Updated March 27, 2015 at 7:31 PM
Resolved November 11, 2014 at 7:24 PM