Well, I found the solution and I'm asking myself if the different behaviour in WildFly 14 is by design:
My i18n properties file was called messages.properties, which worked fine up to WildFly 13. With 14 it only works if I rename the file to messages_en.properties.
Can anyone clarify what the right behaviour would be here?
1 of 1 people found this helpful
I suspect that's a bug. But I haven't checked the latest specifications to be sure. However, given that it was working in previous versions of WildFly, could you create a JIRA here - JBoss Issue Tracker and provide the necessary details, including a link to this thread? Someone from the WildFly team could then look into it.
This is due to a flaw in Yasson: Consider renaming messages.properties · Issue #62 · eclipse-ee4j/yasson · GitHub
It has been fixed in master via an upgrade of Yasson. See [WFLY-11202] Default ResourceBundle fails to load - JBoss Issue Tracker