• Post Reply Bookmark Topic Watch Topic
  • New Topic

error in Spring framework  RSS feed

 
ashok movva
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I got an error while doing  basic spring application program...

This is SpringConfig.xml


Restaurant Bean class....



Class to Test the above Code...


Error in the last line i.e at  obj.getMessage();

Error message is: identifier expected at the end.

 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the variable name / bean id in the xml configure line 8 vs the one used in code line 6.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!