Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic