Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find the declaration of element 'bean'

 
Anand Loni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am getting exception when I deploy my application
Substituted for the exception org.xml.sax.SAXParseException which lacks a String contructor, original message - cvc-elt.1: Cannot find the declaration of element 'bean'.


here is my applicationContext.xml


Any idea what went wrong ??
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are the imported files complete XML files?

http://static.springsource.org/spring/docs/2.5.6/reference/beans.html#beans-factory-xml-import
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic