Application seeing messages.properties from Eclipse Yasson in the classpath instead of the application messages.properties in JBoss EAP 7.2

Solution Verified - Updated -

Issue

  • Application seeing messages.properties from Eclipse Yasson in the classpath instead of the application messages.properties in JBoss EAP 7.2

ResourceBundle and Spring Web Message tag not finding property that exists in the classpath with:

Caused by: javax.servlet.jsp.JspTagException: No message found under code 'My.Property' for locale 'en'.
    at org.springframework.web.servlet.tags.MessageTag.doEndTag(MessageTag.java:200)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In