You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David H. DeWolf" <dd...@apache.org> on 2006/09/25 16:52:54 UTC

[s2] Trunk/Head Compile Error

I'm receiving the following build failure/compile error in the most 
recent s2 trunk.  This occurs AFTER removing the xwork snapshot from my 
local repo to force maven to grab the absolute latest.


/projects/open-source/struts2-clean/integration/src/main/java/org/apache/struts2/s1/ActionFormValidationInterceptor.java:[122,48] 
cannot find symbol
symbol  : method getScopeKey()
location: interface com.opensymphony.xwork2.interceptor.ScopedModelDriven



David

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


Re: [s2] Trunk/Head Compile Error

Posted by "David H. DeWolf" <dd...@apache.org>.
Hmmm.

I don't get any errors building core or api - just integration.  I tried 
to duplicate your error by rolling back versions of xwork, but I couldn't.

It looks to me like the ScopedModelDriven class was just checked in last 
night (along with the scoped interceptor which was moved from s2 to 
xwork).  It appears as though ActionFormValidationInterceptor depends 
upon the scopedKey property which was moved in an uncommitted version of 
this class?

I'm able to build xwork without any problems. It appears as though there 
haven't been any commits since last night.  Are you using revision 1139?



Hope that helps,


David


Wendy Smoak wrote:
> On 9/25/06, David H. DeWolf <dd...@apache.org> wrote:
>> I'm receiving the following build failure/compile error in the most
>> recent s2 trunk.  This occurs AFTER removing the xwork snapshot from my
>> local repo to force maven to grab the absolute latest.
>> /projects/open-source/struts2-clean/integration/src/main/java/org/apache/struts2/s1/ActionFormValidationInterceptor.java:[122,48] 
>>
>> cannot find symbol
>> symbol  : method getScopeKey()
>> location: interface com.opensymphony.xwork2.interceptor.ScopedModelDriven
>>
> 
> No luck here, either, though for me it's compilation failures in the
> test classes:
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
> 
> ervletRedirectResultTest.java:[30,33] cannot find symbol
> symbol  : class StrutsXmlConfigurationProvider
> location: package org.apache.struts2.config
> 
> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
> 
> ervletRedirectResultTest.java:[103,40] cannot find symbol
> symbol  : class StrutsXmlConfigurationProvider
> location: class org.apache.struts2.dispatcher.ServletRedirectResultTest
> 
> I thought perhaps the XWork snapshot in the repo was out of date, but
> I can't seem to build that, either-- 2 errors in the tests.
> 

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


Re: [s2] Trunk/Head Compile Error

Posted by "David H. DeWolf" <dd...@apache.org>.
Thanks! Worked like a charm from source.


David

Don Brown wrote:
> My bad - I hadn't checked in the xwork changes.  Remove your xwork jar 
> from your local maven repository and try again.  Wait an hour or so 
> after this message to allow the OpenSymphony CruiseControl system to 
> build and deploy the latest snapshot.
> 
> Don
> 
> Wendy Smoak wrote:
>> On 9/25/06, David H. DeWolf <dd...@apache.org> wrote:
>>> I'm receiving the following build failure/compile error in the most
>>> recent s2 trunk.  This occurs AFTER removing the xwork snapshot from my
>>> local repo to force maven to grab the absolute latest.
>>> /projects/open-source/struts2-clean/integration/src/main/java/org/apache/struts2/s1/ActionFormValidationInterceptor.java:[122,48] 
>>>
>>> cannot find symbol
>>> symbol  : method getScopeKey()
>>> location: interface 
>>> com.opensymphony.xwork2.interceptor.ScopedModelDriven
>>>
>>
>> No luck here, either, though for me it's compilation failures in the
>> test classes:
>>
>> [ERROR] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
>>
>> ervletRedirectResultTest.java:[30,33] cannot find symbol
>> symbol  : class StrutsXmlConfigurationProvider
>> location: package org.apache.struts2.config
>>
>> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
>>
>> ervletRedirectResultTest.java:[103,40] cannot find symbol
>> symbol  : class StrutsXmlConfigurationProvider
>> location: class org.apache.struts2.dispatcher.ServletRedirectResultTest
>>
>> I thought perhaps the XWork snapshot in the repo was out of date, but
>> I can't seem to build that, either-- 2 errors in the tests.
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
> 
> 

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


Re: [s2] Trunk/Head Compile Error

Posted by Don Brown <mr...@twdata.org>.
My bad - I hadn't checked in the xwork changes.  Remove your xwork jar 
from your local maven repository and try again.  Wait an hour or so 
after this message to allow the OpenSymphony CruiseControl system to 
build and deploy the latest snapshot.

Don

Wendy Smoak wrote:
> On 9/25/06, David H. DeWolf <dd...@apache.org> wrote:
>> I'm receiving the following build failure/compile error in the most
>> recent s2 trunk.  This occurs AFTER removing the xwork snapshot from my
>> local repo to force maven to grab the absolute latest.
>> /projects/open-source/struts2-clean/integration/src/main/java/org/apache/struts2/s1/ActionFormValidationInterceptor.java:[122,48] 
>>
>> cannot find symbol
>> symbol  : method getScopeKey()
>> location: interface 
>> com.opensymphony.xwork2.interceptor.ScopedModelDriven
>>
>
> No luck here, either, though for me it's compilation failures in the
> test classes:
>
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
>
> ervletRedirectResultTest.java:[30,33] cannot find symbol
> symbol  : class StrutsXmlConfigurationProvider
> location: package org.apache.struts2.config
>
> c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S 
>
> ervletRedirectResultTest.java:[103,40] cannot find symbol
> symbol  : class StrutsXmlConfigurationProvider
> location: class org.apache.struts2.dispatcher.ServletRedirectResultTest
>
> I thought perhaps the XWork snapshot in the repo was out of date, but
> I can't seem to build that, either-- 2 errors in the tests.
>


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


Re: [s2] Trunk/Head Compile Error

Posted by Wendy Smoak <ws...@gmail.com>.
On 9/25/06, David H. DeWolf <dd...@apache.org> wrote:
> I'm receiving the following build failure/compile error in the most
> recent s2 trunk.  This occurs AFTER removing the xwork snapshot from my
> local repo to force maven to grab the absolute latest.
> /projects/open-source/struts2-clean/integration/src/main/java/org/apache/struts2/s1/ActionFormValidationInterceptor.java:[122,48]
> cannot find symbol
> symbol  : method getScopeKey()
> location: interface com.opensymphony.xwork2.interceptor.ScopedModelDriven
>

No luck here, either, though for me it's compilation failures in the
test classes:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S
ervletRedirectResultTest.java:[30,33] cannot find symbol
symbol  : class StrutsXmlConfigurationProvider
location: package org.apache.struts2.config

c:\svn\struts\current\struts2\core\src\test\java\org\apache\struts2\dispatcher\S
ervletRedirectResultTest.java:[103,40] cannot find symbol
symbol  : class StrutsXmlConfigurationProvider
location: class org.apache.struts2.dispatcher.ServletRedirectResultTest

I thought perhaps the XWork snapshot in the repo was out of date, but
I can't seem to build that, either-- 2 errors in the tests.

-- 
Wendy

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