You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dale Newfield <da...@newfield.org> on 2009/01/16 20:21:08 UTC

Strange compilation problem with 2.1.6...

Can anybody suggest why I can't seem to compile against the new 
struts/xwork release?

An action class that extends a baseclass that extends 
com.opensymphony.xwork2.ActionSupport:
cannot find symbol
method getText(java.lang.String,java.util.List<java.lang.String>)

I can confirm that there is a matching method in the appropriate class:
% javap -classpath lib/struts-2.1.x/xwork-2.1.2.jar 
com.opensymphony.xwork2.ActionSupport
     public java.lang.String getText(java.lang.String, java.util.List);

-Dale

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


Re: Strange compilation problem with 2.1.6...

Posted by Musachy Barroso <mu...@gmail.com>.
You probably have 2 versions of xwork in the dependencies(are you using maven?).

musachy

On Fri, Jan 16, 2009 at 2:21 PM, Dale Newfield <da...@newfield.org> wrote:
> Can anybody suggest why I can't seem to compile against the new struts/xwork
> release?
>
> An action class that extends a baseclass that extends
> com.opensymphony.xwork2.ActionSupport:
> cannot find symbol
> method getText(java.lang.String,java.util.List<java.lang.String>)
>
> I can confirm that there is a matching method in the appropriate class:
> % javap -classpath lib/struts-2.1.x/xwork-2.1.2.jar
> com.opensymphony.xwork2.ActionSupport
>    public java.lang.String getText(java.lang.String, java.util.List);
>
> -Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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