struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phillips1021 <bphill...@ku.edu>
Subject Re: xWork-2.1.3 available yet that fixes problem with Struts 2.1.6?
Date Mon, 16 Feb 2009 12:37:35 GMT

Wes - thanks for the feedback.  I'm posting the below for others who may run
into this problem and need to get the newer version of xWork.

I checked the latest xWork source out using a subversion client
(www.collab.net).  This is the command:

svn co http://svn.opensymphony.com/svn/xwork/trunk

I then imported this xWork Maven project into Eclipse (with Maven 2 plugin).

I then ran the Maven install task to build the project and install it in my
Maven repository.  It installed as 2.1.3-SNAPSHOT.

I changed my project's pom file to:

</dependency>
        <dependency>
    	<groupId>org.apache.struts</groupId>
    	<artifactId>struts2-core</artifactId>
    	<version>2.1.6</version>
    	<scope>compile</scope>
    	<exclusions>
                <exclusion>
                    <groupId>com.opensymphony</groupId>
                    <artifactId>xwork</artifactId>
                </exclusion>
        </exclusions>
    </dependency>
    <dependency>
    	<groupId>com.opensymphony</groupId>
    	<artifactId>xwork</artifactId>
    	<version>2.1.3-SNAPSHOT</version>
    	<scope>compile</scope>
    </dependency>

I was then able to generate a .war file for my Struts 2 project that would
load correctly in my Tomcat 6 server.

Bruce

-- 
View this message in context: http://www.nabble.com/xWork-2.1.3-available-yet-that-fixes-problem-with-Struts-2.1.6--tp22027436p22036485.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message