You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Cédric Servais (Jira)" <ji...@apache.org> on 2019/10/24 16:33:00 UTC
[jira] [Created] (TOMEE-2719) ValidationMessages.properties not
found
Cédric Servais created TOMEE-2719:
-------------------------------------
Summary: ValidationMessages.properties not found
Key: TOMEE-2719
URL: https://issues.apache.org/jira/browse/TOMEE-2719
Project: TomEE
Issue Type: Bug
Components: TomEE Core Server
Affects Versions: 8.0.0-Final
Environment: Apache TomEE Plus 8.0.0
OpenJDK 12
Windows 10
Apache Netbeans 11.1
Reporter: Cédric Servais
Hello,
I'm using Apache TomEE for a home project and I was trying to move bean validation towards my entities. Doing so, everything is working fine. However, when I tried to use localized messages according to the specs (ValidationMessages.properties at the root of the classpath) but I've been unfortunate, my expression \{users.name.notnull} is displayed as such in my rendered JSF form and it seems that no replacement is being performed by BVAL.
I've opened an issue at BVAL initially and, thanks to the help of [~romain.manni-bucau], I've been able to suspect a classloader issue. Testing the same code with TomEE embedded allows BVAL to find the right resource file and display the concerned message. ([https://issues.apache.org/jira/projects/BVAL/issues/BVAL-179?filter=allopenissues])
Could you please have a look to this case and indicate where the issue could come from when running it as an embedded jar within TomEE ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)