Skip to content

java.lang.ClassNotFoundException: com.amazonaws.ClientConfigurationFactory #54

@tomhughesnice

Description

@tomhughesnice

Hi,

I am trying to setup this library in my existing Spring boot project but I getting the following error.

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.amazonaws.services.dynamodbv2.AmazonDynamoDB]: Factory method 'amazonDynamoDB' threw exception; nested exception is java.lang.NoClassDefFoundError: com/amazonaws/ClientConfigurationFactory

I am using Spring Boot 1.4 and I just added the following to my pom.xml

<dependency>
            <groupId>com.github.derjust</groupId>
            <artifactId>spring-data-dynamodb</artifactId>
            <version>4.4.1</version>
        </dependency>

Should I add the AWS SDK separately to my pom.xml too?

Do you have an example project setup that I can facilitate the basic functionality of the homepage README? Messing around with alot of transitive dependancies can be abit of a minefield.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions