Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting S3StoresRegistrar does not define or inherit an implementation error #591

Closed
mmoukimou opened this issue Jul 18, 2021 · 2 comments
Closed

Comments

@mmoukimou
Copy link

I am trying to implement Spring content to use with AWS S3. After configuring everything, and running the Spring boot application i keep getting this error: java.lang.AbstractMethodError: Receiver class internal.org.springframework.content.s3.config.S3StoresRegistrar does not define or inherit an implementation of the resolved method 'abstract java.lang.Class[] getIdentifyingTypes()' of abstract class org.springframework.content.commons.config.AbstractStoreBeanDefinitionRegistrar.

Any clue what might be the cause of this? am i missing something somewhere?

@paulcwarren
Copy link
Owner

Might be mismatched Spring Content library versions?

spring-content-commons used to have an abstract method called getIdentifyingTypes and from the error the class S3StoresRegistrar from spring-content-s3 doesn't implement that method.

Perhaps your s3 library is older than your commons library, or newer. FYI yhey should be versioned matched.

How are you declaring your dependencies?

@mmoukimou
Copy link
Author

It was indeed a version mismatch. This issue is fixed now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants