Σε Εξέλιξη

Help me get started on AWS Java. NoClassDefFoundError error

I am running a snippet to list all S3 buckets using a Lambda function.

package [url removed, login to view];

import [url removed, login to view];

import [url removed, login to view];

import [url removed, login to view];

import [url removed, login to view];

import [url removed, login to view];

public class HelloS3 {

public String handleRequest(Context context) {

final AmazonS3 s3 = [url removed, login to view]();

List<Bucket> buckets = [url removed, login to view]();

[url removed, login to view]("Your Amazon S3 buckets are:");

for (Bucket b : buckets) {

[url removed, login to view]("* " + [url removed, login to view]());

}

return [url removed, login to view]("HELLO MOM!!!");

}

}

My [url removed, login to view] is as follows:

<project xmlns="[url removed, login to view]"

xmlns:xsi="[url removed, login to view]"

xsi:schemaLocation="[url removed, login to view]

[url removed, login to view]">

<modelVersion>4.0.0</modelVersion>

<groupId>[url removed, login to view]</groupId>

<artifactId>HelloS3</artifactId>

<packaging>jar</packaging>

<version>1.0-SNAPSHOT</version>

<name>HelloS3</name>

<url>[url removed, login to view]</url>

<dependencies>

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>3.8.1</version>

<scope>test</scope>

</dependency>

<dependency>

<groupId>[url removed, login to view]</groupId>

<artifactId>aws-lambda-java-core</artifactId>

<version>1.1.0</version>

</dependency>

<dependency>

<groupId>[url removed, login to view]</groupId>

<artifactId>aws-java-sdk</artifactId>

<version>[url removed, login to view]</version>

</dependency>

</dependencies>

<build>

<finalName>IWFHelloWorld</finalName>

</build>

</project>

When upload onto Lambda, I get the following error...

{

"errorMessage": "com/amazonaws/services/s3/AmazonS3ClientBuilder",

"errorType": "[url removed, login to view]",

"stackTrace": [

"[url removed, login to view]([url removed, login to view])",

"[url removed, login to view](Native Method)",

"[url removed, login to view]

([url removed, login to view])",

"[url removed, login to view]

([url removed, login to view])",

"[url removed, login to view]([url removed, login to view])"

],

"cause": {

"errorMessage": "[url removed, login to view]",

"errorType": "[url removed, login to view]",

"stackTrace": [

"[url removed, login to view]([url removed, login to view])",

"[url removed, login to view]([url removed, login to view])",

"[url removed, login to view]([url removed, login to view])",

"[url removed, login to view]([url removed, login to view])",

"[url removed, login to view](Native Method)",

"[url removed, login to view]

([url removed, login to view])",

"[url removed, login to view]

([url removed, login to view])",

"[url removed, login to view]([url removed, login to view])"

]

}

}

Δεξιότητες: Υπηρεσίες Ιστού Amazon, Java

Δείτε περισσότερα: connect aws java script, dynamic java class generation xsd, java creating class xsd, java read generate xsd, display help file blackberry java application, generate java files based xsd, java build class xsd, java create class xsd, generate java class files xsd, java generate class xsd, help payroll project java, books value bound help desk system java, reference value bound help desk system java, simple style help started making style phpbb3, project help process scheduling java

Σχετικά με τον Εργοδότη:
( 4 αξιολογήσεις ) Singapore

ID Εργασίας: #15107587

Ανατέθηκε στον/στην:

SuiGenSolutions

Hi, I have gone through your requirements and can help you in resolving this error. Relevant Skills and Experience Java Proposed Milestones $29 USD - Final delivreable

$29 USD σε 1 μέρα
(21 Αξιολογήσεις)
5.4

6 freelancers κάνουν προσφορές με μέσο όρο $26 γι' αυτή τη δουλειά

dipakjadhav08

A proposal has not yet been provided

$35 USD σε 0 μέρες
(66 Αξιολογήσεις)
5.1
stevensow

Hi There, I am a serious bidder. I am senior JAVA developer with 8 years professional experience. Best Regards, Steven Relevant Skills and Experience java Proposed Milestones $30 USD - complete task

$30 USD σε 1 μέρα
(17 Αξιολογήσεις)
4.4
$25 USD σε 1 μέρα
(5 Αξιολογήσεις)
3.4
sumitgarg44

A proposal has not yet been provided

$25 USD σε 0 μέρες
(1 Αξιολόγηση)
1.0
jitendra0706

I have 12+ years of experience in writing program in Java/Rest api,CF.I can see,this project is well suited to match my [url removed, login to view] to build a long term relation with the employer. Relevant Skills and Experience H Περισσότερα

$14 USD σε 1 μέρα
(0 Αξιολογήσεις)
0.0