Good error happens in the second message of the properties file the first message ok when I try to put the second message in the file this error happens
Caused by: javax.servlet.jsp.JspTagException: No message found under code 'campo.add' for locale 'pt_br'.
file message.properties
campo.obrigatorio= Este campo é Obrigatório
campo.add= Add
campo.update= Editar
@Bean
public static MessageSource messageSource() {
ReloadableResourceBundleMessageSource messageSource = new ReloadableResourceBundleMessageSource();
messageSource.setBasename("classpath:mensagem");
messageSource.setDefaultEncoding("UTF-8");
return messageSource;
}