You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frans Thamura <fr...@meruvian.org> on 2010/07/29 17:46:35 UTC

Spring 2.5.6 -> 3.0

hi all

i try using maven of s2, and find this message

7/29/10 10:29:13 PM WIT: Downloaded
http://repo1.maven.org/maven2/net/sf/ezmorph/ezmorph/1.0.3/ezmorph-1.0.3.pom
7/29/10 10:29:17 PM WIT: Downloading
https://repository.apache.org/content/groups/staging/org/apache/struts/struts2-spring-plugin/2.2.1/struts2-spring-plugin-2.2.1.pom
7/29/10 10:29:17 PM WIT: Downloaded
https://repository.apache.org/content/groups/staging/org/apache/struts/struts2-spring-plugin/2.2.1/struts2-spring-plugin-2.2.1.pom
7/29/10 10:29:21 PM WIT: Downloading
http://repo1.maven.org/maven2/org/springframework/spring-web/2.5.6/spring-web-2.5.6.pom
7/29/10 10:29:21 PM WIT: Downloaded
http://repo1.maven.org/maven2/org/springframework/spring-web/2.5.6/spring-web-2.5.6.pom
7/29/10 10:2

but i want to use spring 3.0

any idea?

this is my spring 3.0

 <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>3.0.2.RELEASE</version>
        </dependency>


i found this error

Name clash: The method supports(Class<?>) of type CategoryItemValidator has
the same erasure as supports(Class) of type Validator but does not
 override it


-- 
Frans Thamura
Meruvian.

We grow because we share the same believe.

Mobile: +6287885901958
Blog & Profile: http://frans.thamura.info

We provide services to migrate your apps to Java (web), in amazing fast and
reliable.

Re: Spring 2.5.6 -> 3.0

Posted by Lukasz Lenart <lu...@googlemail.com>.
You must exclude Spring 2.5.6 in struts2-spring-plugin dependency.
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#Dependency
Exclusions


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org