• Post Reply Bookmark Topic Watch Topic
  • New Topic

error in Spring framework  RSS feed

 
Greenhorn
Posts: 17
  • 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.

 
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.
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!