• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Message Resource Not Found in Spring.xml file

 
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there

I try to include some properties in a file but in Log message it is showing


Oct 04, 2014 8:18:05 PM org.springframework.context.support.ResourceBundleMessageSource getResourceBundle
WARNING: ResourceBundle [messages] not found for MessageSource: Can't find bundle for base name messages, locale en_US
Oct 04, 2014 8:18:05 PM org.springframework.context.support.ResourceBundleMessageSource getResourceBundle
WARNING: ResourceBundle [messages] not found for MessageSource: Can't find bundle for base name messages, locale en_US
Oct 04, 2014 8:18:05 PM org.springframework.context.support.ResourceBundleMessageSource getResourceBundle
WARNING: ResourceBundle [messages] not found for MessageSource: Can't find bundle for base name messages, locale en_US




this is my bean.xml where I configured my Resource Bundle Message Source



this is my view file where I am accessing properties



and this is my properties file


title=SpringApp
heading=Hello :: SpringApp
greeting=Greetings, it is now




and this is my output


???heading???

???greeting??? Sat Oct 04 20:18:05 IST 2014
Products
Lamp $5.75

Table $75.25

Chair $22.79




and this is my project structure


I want to what should be value in my xml file for this configuration


Thanks
snip.PNG
[Thumbnail for snip.PNG]
 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi My Problem is sloved using this Thread

https://coderanch.com/t/493443/Spring/Warnings-message-resource

in the Last Posts of this Thread Solved my problem


Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic