This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • 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!