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

Build Failure. #9

Open
naveenchlsn opened this issue Jul 21, 2019 · 0 comments
Open

Build Failure. #9

naveenchlsn opened this issue Jul 21, 2019 · 0 comments

Comments

@naveenchlsn
Copy link

The projects fails to build on

./mvnw clean install

Following are the steps I have tried:

  1. In minimal/Dockerfile, frolvlad/alpine-oraclejdk8:slim docker doesn't exist so changed it to FROM frolvlad/alpine-java:jdk8-slim.

  2. In alt/pom.xml, artifact spring-boot-devtools , 2.0.0.BUILD-SNAPSHOT is not resolved so changed it to 2.0.0.RELEASE .

I am still getting errors

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties': Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeansOfType(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/Map;
Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.annotation.BeanFactoryAnnotationUtils.qualifiedBeansOfType(Lorg/springframework/beans/factory/ListableBeanFactory;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/Map;

Please let me know how to fix this or if I am doing something wrong.

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

1 participant