And why do you want to mix Struts 2 with Spring 3.0MVC? It is understandable if 
you want to use Spring DI with struts 2, however; if you already have Spring 
3MVC, I think you should stick to it.




----- Original Message ----
From: Frans Thamura <fr...@meruvian.org>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Thu, July 29, 2010 6:49:31 PM
Subject: Mix SpringMVC 3.0 with Struts2

hi all

I try to mix Struts2 2.2.1 with SpringMVC 3.0

i got a Validator error when ass Struts2, but if i remove struts2, the code
work well

i believe there is a problem with the validation

any tips for the exclude ? i see that struts2 using spring 2.5.6, this is my
exclusions

am i put in the wrong depedency? if yes, where i must put it, or ...


<dependency>
   <groupId>org.apache.struts</groupId>
   <artifactId>struts2-spring-plugin</artifactId>
   <version>2.2.1</version>
   <exclusions>
   <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
        </exclusion>
        <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
        </exclusion>
        </exclusions>
   </dependency>



-- 
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.




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

Reply via email to