IntelliJ Java IDE
The moose likes Spring and the fly likes nested exception is org.xml.sax.SAXParseException: element type beans must be declared. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "nested exception is org.xml.sax.SAXParseException: element type beans must be declared." Watch "nested exception is org.xml.sax.SAXParseException: element type beans must be declared." New topic
Author

nested exception is org.xml.sax.SAXParseException: element type beans must be declared.

Muralidharan Raju
Greenhorn

Joined: Feb 24, 2011
Posts: 25

Hey folks,

My project was using annotation based spring-config.xml (context:component-scan) XML schema. no need to configure every controller just base-package path is enough . But i want to use normal <!DOCTYPE > here i have to configure every controller with <bean> tag, what is the simple way to do this .

 
IntelliJ Java IDE
 
subject: nested exception is org.xml.sax.SAXParseException: element type beans must be declared.
 
Threads others viewed
ClassCastException in struts - urgent! :(
Exact Front Controller In Realtime
about web.xml file.
Using struts2 only for internationalization
Could annotation based and xml based configuration be used together in spring 2.5?
developer file tools