Error : The number of beans implementing 'I18NProvider' is 0. Cannot use Spring beans for I18N, fall

it comes empty, with a index
image.png

@versatile-zorse Do you have an idea by any chance what could be the culprit here?

Hi @realistic-urchin do you tried creating a bean component extending I18NProvider interface?

yes, but the response on postman is the same

I have no idea, why i cant access my repository

inside the code, using vaadin and outside code

by postman

can you share the code? or a demo?

I’ll up on github

Do you use spring security in your project? Maybe it is redirecting you on a login view?

yes

the endpoints should be publicly accessible? If so you should configure spring security to allow access to them

I use @969550907647852604mitAll

You should probably configure the HTTP security

here is my security
image.png

Take a look at how the access ‘public/*’ is configured in this documentation page Enabling Security | Security | Vaadin Docs

You probably need something similar for your endpoints base path

i did not use this line

    http.authorizeHttpRequests().requestMatchers(new AntPathRequestMatcher("/public/**"))
        .permitAll();

because is depreciate

https://github.com/boscolodev/vaadin

I am not at my laptop right now so I cannot check, but you need such configuration. Maybe syntax is a bit different and docs are outdated