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

[BUG] #56

Open
simasch opened this issue Jan 4, 2025 · 5 comments
Open

[BUG] #56

simasch opened this issue Jan 4, 2025 · 5 comments

Comments

@simasch
Copy link

simasch commented Jan 4, 2025

I assume that the Umlaut in Anlässe causes the problem:

Screenshot 2025-01-04 at 15 55 32

It's reproducible here: https://github.com/martinellich/registration

The problem goes away and everything works.

@Artur-
Copy link
Member

Artur- commented Jan 6, 2025

I tried running the app using mvn but it fails to start with

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

@simasch
Copy link
Author

simasch commented Jan 6, 2025

The defaultGoal is wrong. I didn't expect that someone would use that.

The project uses Spring Boot Testcontainers so the goal is spring-boot:test-run

I've updated the pom.xml

@Artur-
Copy link
Member

Artur- commented Jan 6, 2025

Then it runs and I am stuck on a login screen

@simasch
Copy link
Author

simasch commented Jan 6, 2025

I created a test user:
john@doe.com / password

But you can also create a new project on https://start.vaadin.com This will have the same issue.

@czp13
Copy link
Contributor

czp13 commented Jan 20, 2025

Hey @simasch,

I worked on this issue.

I tried to reproduce it locally but couldn’t encounter the same problem/error message. I believe this might be because the Vaadin version was recently bumped to 24.6.2, resulting in a different error message.

I suspect the issue is caused by the superclass and inheritance, rather than being related to the special character (Umlaut).
Also the i18n finding strings works, just I think it finds much more and maybe not all due to the project structure. And can generate that yellow warning message, which is not nice

Image

(I can delete the picture if it is problematic, but as you shared as well the UI, hoping it is not sensitive)

On a positive note, I was able to run the project with the given goal, which is nice, thanks for the help here.

By the way, you can fix this error (which occurs on Mac with an ARM chip, at least):

2025-01-20T16:00:27.321+01:00 ERROR 13767 --- [registration] [nio-8080-exec-6] i.n.r.d.DnsServerAddressStreamProviders  : Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library

By adding the following to your pom.xml (or a compatible version that doesn’t conflict with your dependencies):

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.115.Final</version>
</dependency>

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

3 participants