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
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.
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.