applicationContext-Service.xmlस्प्रिंग: नहीं संदेश स्थान के लिए कोड के नीचे पाया 'en_US'
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basenames">
<list><value>messages</value></list>
</property>
</bean>
मैं /src/messages_en_US.properties
registerForm.passwordNotMatch=Password does not match.
तहत messages_en_US.properties है इस की रेखा है कोड त्रुटि ला रहा है:
binding.addError(new FieldError(REGISTER_FORM, "passwordNotMatch", messageSource.getMessage("registerForm.passwordNotMatch", null, locale)));
त्रुटि: कोड 'registerForm.passwordNotMa के तहत कोई संदेश नहीं मिला टीके 'लोकेल' en_US 'के लिए।
क्या गलत हो सकता है?
'applicationContext-Service.xml' कहां घोषित किया गया है? – skaffman