aspose file tools*
The moose likes Spring and the fly likes Spring Major version '3' expected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Major version Watch "Spring Major version New topic
Author

Spring Major version '3' expected

cecilia fava
Greenhorn

Joined: Oct 26, 2011
Posts: 8
I'm using Spring 3.0.5.RELEASE +Hibernate 3.0 and I don't know Spring 2.5.6 is intented to use for Spring Security.
2011-11-07 09:40:18 ERROR [http-8080-1] (SpringSecurityCoreVersion.java:24) - Spring Major version '3' expected, but you are running with version: 2.5.6. Please check your classpath for unwanted jar files.



My Classpath don't have Spring 2.5.6 in Maven dependecies listed.
Any help?

My security.xml


My pom.xml is:

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

conflicting versions (3 and 2.5.6) in classpath. Check the lib directories


===Vyas Sanzgiri===
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring Major version '3' expected
 
Similar Threads
Maven dependencies
Spring 3.0.2 and Active MQ 5.4.1 Issues
Maven web project dependencies
Error: ERROR initServletBean, Context initialization failed
Could not resolve dependencies for maven project