[
https://issues.apache.org/jira/browse/BVAL-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959023#comment-16959023
]
Romain Manni-Bucau commented on BVAL-179:
-----------------------------------------
If it helps:
[https://github.com/apache/bval/blob/master/bval-jsr/src/main/java/org/apache/bval/jsr/DefaultMessageInterpolator.java#L239]
should be the app loader, bval uses TCCL so maybe tomee should set it in lazy
validator or so.
> ValidationMessages.properties not found
> ---------------------------------------
>
> Key: BVAL-179
> URL: https://issues.apache.org/jira/browse/BVAL-179
> Project: BVal
> Issue Type: Bug
> Components: jpa
> Affects Versions: 2.0.3
> 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 tried to locate the possible issue but I've been quite unfortunate. Any
> help would be welcome.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)