GeeCON Prague 2014*
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


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Error while running my first spring application" Watch "Error while running my first spring application" New topic
Author

Error while running my first spring application

Thiru Sowri
Greenhorn

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.

thanks,
thiru
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30596
    
154

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
 
GeeCON Prague 2014
 
subject: Error while running my first spring application