Announcement Announcement Module
Collapse
No announcement yet.
A doubt about ResourceBundleViewResolver Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • A doubt about ResourceBundleViewResolver

    Hi, I have configured view resolver to ResourceBundleViewResolver and defined properties file as per 'basename'. There I configured classes for a view as xyz.class=com.pokuri,view.Xyz. But where I return this view from controller I am getting BeanCreationException. I tried a lot to identify the issue with it, as it was working fine in earlier example projects. Finally I have changed the mapping to xyz.(class)=com.pokuri,view.Xyz, then it start working.

    Can anyone plz explain me why this is happening and not with earlier experimental projects?

    Thank you.

  • #2
    Yes Pokuri you need to surround class with brackets, and it is advisable

    Comment

    Working...
    X