no main manifest attribute, in Greengrass-1.0-SNAPSHOT.jar #448
-
Hello Support, While running the greengrass.BasicDiscovery having some issues so was trying to run/compile the file in the local system itself but it landing to another issue which is below mentioned. Requesting your support on the same. Command Using
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To compile the code used follow. mvn clean install exec:java -pl samples/Greengrass -Dexec.mainClass=greengrass.BasicDiscovery -Dexec.args='--cert /home/admin/certs/device.pem.crt --key /home/admin/certs/private.pem.key --ca_file /home/admin/certs/AmazonRootCA1.pem --thing_name MyGreengrassCore --region us-gov-west-1 --topic clients/ggv2client/hello/world --proxy.port --proxy.host =' |
Beta Was this translation helpful? Give feedback.
-
Hello @SatyaaDixit , Thank you very much for your submission. I am assuming you have already reviewed this but here is the general sample guidance documentation to run the sample and retrieve logging information: https://github.com/aws/aws-iot-device-sdk-java-v2/blob/main/samples/README.md Assuming you have installed the SDK following the readme documentation, you should be able to run the sample as follow : However, note that this sample is to be used alongside tutorials shared in the readme.md file : https://github.com/aws/aws-iot-device-sdk-java-v2/blob/main/samples/Greengrass/README.md Best regards, Yasmine |
Beta Was this translation helpful? Give feedback.
Hello @SatyaaDixit ,
Thank you very much for your submission.
Could you specify what issue you are running into. In your submission you mention "having some issues so was trying to run/compile the file in the local system itself but it landing to another issue which is below mentioned" without providing further information besides the command used (I am assuming that one of the two issue is the "no main manifest attribute"). I was wondering if you could perhaps provide both full error message you are running into using the sample?
I am assuming you have already reviewed this but here is the general sample guidance documentation to run the sample and retrieve logging information: https://g…