amazon-archives / amazon-kinesis-connectors

Apache License 2.0
325 stars 191 forks source link

Not able to run the amazon-kinesis-connectors-samples-1.0.0-SNAPSHOT.jar #86

Open awadeshmmm opened 6 years ago

awadeshmmm commented 6 years ago

I am able to run the S3 Sample on the system but when i am creating a jar for production I am able to create in the target folder and trying to run like this

java -cp amazon-kinesis-connectors-samples-1.0.0-SNAPSHOT.jar samples.s3.S3Executor

it is giving this error Error: Could not find or load main class samples.s3.S3Executor or java -jar amazon-kinesis-connectors-samples-1.0.0-SNAPSHOT.jar it gives no main manifest attribute, in amazon-kinesis-connectors-samples-1.0.0-SNAPSHOT. jar I am trying a lot since last two days but no luck :( Please provide me valuable guidance. Thanks in advance.