[ https://issues.apache.org/jira/browse/TOMEE-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986767#comment-16986767
]
Jonathan Gallimore commented on TOMEE-2719:
-------------------------------------------
Would you be able to attach a small sample which can reproduce this? That would be a huge
help.
> 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
> Priority: Major
>
> 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)
|