You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sunitha Ganapathy <su...@comviva.com.INVALID> on 2024/04/17 11:50:44 UTC
RE: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error
Hi,
Getting these 3 types of errors after upgrade.
1. c.o.xwork2.ognl.OgnlValueStack - Could not find property [struts.actionMapping]!
ognl.NoSuchPropertyException: com.opensymphony.xwork2.util.CompoundRoot.struts
at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:158)
2 .c.o.xwork2.ognl.OgnlValueStack - Could not find property [struts.valueStack]!
ognl.NoSuchPropertyException: com.opensymphony.xwork2.util.CompoundRoot.struts
at com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:158)
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2422)
3. Could not find action or result: /CoreWeb/domainMgmt/confirmAddDomain_addDetails.action?ORIGIN=LUIGI&language=en&token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imp3cy1rZXktcHVibGljLTEifQ.eyJzZXJ2aWNlUmVxdWVzdElkIjoiM2U0MDU4MzEtMjMwMC00Nzc1LTg4YzAtM2Q2NDRhMWQ5ZDE5IiwidXNlcl9uYW1lIjoiM2U0MDU4MzEtMjMwMC00Nzc1LTg4YzAtM2Q2NDRhMWQ5ZDE5IiwiYXV0aG9yaXphdGlvblByb2ZpbGVDb2RlIjoiTmV0YWRtaW5EZWZhdWx0IiwiaWRlbnRpZmllclZhbHVlIjoiU1lTQURNNzc3NzYxNDU4MyIsImlkZW50aWZpZXJUeXBlIjoiTE9HSU5JRCIsImNhdGVnb3J5Q29kZSI6Ik5XQURNIiwidXNlcklkIjoiVVMuMjA0MTI3MzY3MjMzMDY2MiIsImRldmljZUlkIjpudWxsLCJhdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwiY2xpZW50X2lkIjoiQ29yZVdlYiIsInNjb3BlIjpbIkdFVF9VU0VSX0FORF9BQ0NPVU5UX0RFVEFJTFMiLCJTRUxGU0VUQVVUSEZBQ1RPUiIsIkZFVENIX1VTRVJfUVVFU1RJT04iLCJUWE5DT1JSRUNUIiwiQVRNQ0FTSE9VVCIsIkFUTUNBU0hPVVRfVjQiLCJBRE1UWE5SRUZJRCJdLCJuYW1lIjoiTmV0d29yayBOV0FETSBBZG1pbiIsImJlYXJlckNvZGUiOiJXRUIiLCJleHAiOjE3MTMzODQxODQsImp0aSI6ImM2YTg4YTc2LTZiNzMtNDIxNi1iOGFmLWZkMzQ0OTBiMDcyMiJ9.G9Na_dprhhfaK0eaBcUVVLr0vVQ-4kaRXK4PLXXjiFCrNZ7mHH7c-jnyqrY3Qdbd4B1zIm7Ce95PO_ECm7awg8baNX4o1OdCRYEWc7yMw3orWlPzhFkEyYo9P6Qe-OGY4Fkn7uccDxTgBmspUDZ3iiMSxwp2D2IeKBYNSToyjiEBXV00DI4O48mlLXV6dJVPUyxTjKSAnXJy9d-Wp43pEVIRzbIVRwkU6Foh28kNl7K43unQ1pbllaeRw5EWFQpwGfahGZPHqA84O6-Bn_M458G9LBG70E1MdaMRDddx-wHVcD6QewG37PZXn5ReM_k0icrfQzNg_VYxVCAUyfWgkA
com.opensymphony.xwork2.config.ConfigurationException: There is no Action mapped for namespace [/domainMgmt] and action name [confirmAddDomain_addDetails] associated with context path [/CoreWeb].
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:195)
Pom used has jars as below.
[cid:image001.png@01DA90EB.903ECCC0]
Please suggest.
Regards,
Sunitha
This e-mail and all material transmitted with it are for the use of the intended recipient(s) ONLY and contains confidential information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken pursuant to the contents of the present e-mail is strictly prohibited and is unlawful. The recipient acknowledges that Comviva Technologies Limited or its management or directors, are unable to exercise control or ensure the integrity over /of the contents of the information contained in e-mail. Any views expressed herein are those of the individual sender only and no binding nature of the contents shall be implied or assumed unless the sender does so expressly with due authority of Comviva Technologies Limited. E-mail and any contents transmitted with it are prone to viruses and related defects despite all efforts to avoid such by Comviva Technologies Limited.
Re: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error
Posted by Lukasz Lenart <lu...@apache.org>.
Did you follow the migration guideline [1]? And please post the whole
stacktrace
[1]
https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration
śr., 17 kwi 2024 o 14:11 Sunitha Ganapathy
<su...@comviva.com.invalid> napisał(a):
> Hi,
>
>
>
> Getting these 3 types of errors after upgrade.
>
> 1. c.o.xwork2.ognl.OgnlValueStack - Could not find property
> [struts.actionMapping]!
>
> ognl.NoSuchPropertyException:
> com.opensymphony.xwork2.util.CompoundRoot.struts
>
> at
> com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:158)
>
>
>
>
>
> 2 .c.o.xwork2.ognl.OgnlValueStack - Could not find property
> [struts.valueStack]!
>
> ognl.NoSuchPropertyException:
> com.opensymphony.xwork2.util.CompoundRoot.struts
>
> at
> com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:158)
>
> at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2422)
>
>
>
> 3. Could not find action or result:
> /CoreWeb/domainMgmt/confirmAddDomain_addDetails.action?ORIGIN=LUIGI&language=en&token=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Imp3cy1rZXktcHVibGljLTEifQ.eyJzZXJ2aWNlUmVxdWVzdElkIjoiM2U0MDU4MzEtMjMwMC00Nzc1LTg4YzAtM2Q2NDRhMWQ5ZDE5IiwidXNlcl9uYW1lIjoiM2U0MDU4MzEtMjMwMC00Nzc1LTg4YzAtM2Q2NDRhMWQ5ZDE5IiwiYXV0aG9yaXphdGlvblByb2ZpbGVDb2RlIjoiTmV0YWRtaW5EZWZhdWx0IiwiaWRlbnRpZmllclZhbHVlIjoiU1lTQURNNzc3NzYxNDU4MyIsImlkZW50aWZpZXJUeXBlIjoiTE9HSU5JRCIsImNhdGVnb3J5Q29kZSI6Ik5XQURNIiwidXNlcklkIjoiVVMuMjA0MTI3MzY3MjMzMDY2MiIsImRldmljZUlkIjpudWxsLCJhdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwiY2xpZW50X2lkIjoiQ29yZVdlYiIsInNjb3BlIjpbIkdFVF9VU0VSX0FORF9BQ0NPVU5UX0RFVEFJTFMiLCJTRUxGU0VUQVVUSEZBQ1RPUiIsIkZFVENIX1VTRVJfUVVFU1RJT04iLCJUWE5DT1JSRUNUIiwiQVRNQ0FTSE9VVCIsIkFUTUNBU0hPVVRfVjQiLCJBRE1UWE5SRUZJRCJdLCJuYW1lIjoiTmV0d29yayBOV0FETSBBZG1pbiIsImJlYXJlckNvZGUiOiJXRUIiLCJleHAiOjE3MTMzODQxODQsImp0aSI6ImM2YTg4YTc2LTZiNzMtNDIxNi1iOGFmLWZkMzQ0OTBiMDcyMiJ9.G9Na_dprhhfaK0eaBcUVVLr0vVQ-4kaRXK4PLXXjiFCrNZ7mHH7c-jnyqrY3Qdbd4B1zIm7Ce95PO_ECm7awg8baNX4o1OdCRYEWc7yMw3orWlPzhFkEyYo9P6Qe-OGY4Fkn7uccDxTgBmspUDZ3iiMSxwp2D2IeKBYNSToyjiEBXV00DI4O48mlLXV6dJVPUyxTjKSAnXJy9d-Wp43pEVIRzbIVRwkU6Foh28kNl7K43unQ1pbllaeRw5EWFQpwGfahGZPHqA84O6-Bn_M458G9LBG70E1MdaMRDddx-wHVcD6QewG37PZXn5ReM_k0icrfQzNg_VYxVCAUyfWgkA
>
> com.opensymphony.xwork2.config.ConfigurationException: There is no Action
> mapped for namespace [/domainMgmt] and action name
> [confirmAddDomain_addDetails] associated with context path [/CoreWeb].
>
> at
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:195)
>
>
>
> Pom used has jars as below.
>
> Please suggest.
>
>
>
> Regards,
>
> Sunitha
>
>
>
>