adorsys / xs2a

Open Source NextGenPSD2 XS2A Implementation from adorsys.
https://adorsys.com/en/products/
GNU Affero General Public License v3.0
132 stars 62 forks source link

Trying to start the mock server returns an error #2

Closed Panthro closed 6 years ago

Panthro commented 6 years ago
mvn clean install
cd aspsp-mock-server
mvn spring-boot:run

And the application fails to start with the given error

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 0 of constructor in de.adorsys.aspsp.aspspmockserver.service.AccountService required a bean of type 'de.adorsys.aspsp.aspspmockserver.repository.AccountRepository' that could not be found.

Action:

Consider defining a bean of type 'de.adorsys.aspsp.aspspmockserver.repository.AccountRepository' in your configuration.
keilw commented 6 years ago

Did you use Docker or run it locally?

I created a fork https://github.com/keilw/xs2a although it's based on a slightly older version (about 2 weeks ago) That ran fine, but all the secrets need to be adjusted in the properties files based on your local Keycloak instance.

DG0lden commented 6 years ago

Does the start with fongo profile solves the problem?

mvn spring-boot:run -Dspring.profiles.active=fongo
keilw commented 6 years ago

I did not face this problem but I use the Mongo profile in most cases.

Panthro commented 6 years ago

That's why I added #3 so now following the readme it works

DG0lden commented 6 years ago

Closed with #3