wood burning stoves 2.0*
The moose likes Spring and the fly likes Error while running my first spring application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error while running my first spring application" Watch "Error while running my first spring application" New topic

Error while running my first spring application

Thiru Sowri

Joined: Apr 19, 2011
Posts: 3
I have a beans.xml file

What is the significance of the following lines?

I tried changing the value of "http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" to spring-beans-4.0.xsd and it is throwing errors like the following:

Why is it running fine when I have spring-beans-3.0.xsd or spring-beans-2.5.xsd. But throwing errors when I have spring-beans-4.0.xsd. Please explain.

Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30130

That is the version number of Spring. For example, Spring 3 or 2.5

There is no Spring 4.0 available yet. There is a development version of Spring 4.0, but it isn't completed yet. If you are learning Spring, I recommend you use Spring 3 at this time. It is stable and comes with lots of documentation, tutorials and help online.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: Error while running my first spring application
Similar Threads
applicationContext.xml - Can not find definition for element 'beans'
Cannot find the declaration of element 'beans' -- application context invalid?
Error starting spring application
Error in Context xml file - cvc-complex-type.2.4.c:
Spring AOP TX management error...