Re: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages'
This should be fine: struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* https://cwiki.apache.org/confluence/display/WW/web.xml#web.xml-ChangedfilterpackageinStruts>=2.5 2016-08-25 22:02 GMT+02:00 Dhamelia, Krunal : > Thanks Lukasz, > That worked fine. I am one step further. > > I am using following filters in my web.xml and it is telling me that they are > deprecated. I searched on internet but I am getting mixed answers could some > one point me to right filters I need to use to replace this? > > I am using Spring Struts combination > > --- > > > filterChainProxy > > org.springframework.web.filter.DelegatingFilterProxy > > > > filterChainProxy > /* > > > > struts-cleanup > > org.apache.struts2.dispatcher.ActionContextCleanUp > > > struts2 > > org.apache.struts2.dispatcher.FilterDispatcher > > > > struts2 > /* > > -- > > Thanks and Regards, > Krunal Dhamelia > Consultant | TD Securities Technology Solutions| TD Securities > 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 > desk: 416 944 6187 cell: 647 835 3067 > e-mail: [email protected] > > -Original Message- > From: Dhamelia, Krunal > Sent: Thursday, August 25, 2016 1:07 PM > To: Struts Users Mailing List > Subject: RE: Struts2 (2.3.16) upgrade failure - No mapping found for > dependency 'actionPackages' > > I haven't done that. Let me do it and will post if that resolves the issue, > thanks a lot. > > Thanks and Regards, > Krunal Dhamelia > Consultant | TD Securities Technology Solutions| TD Securities > 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 > desk: 416 944 6187 cell: 647 835 3067 > e-mail: [email protected] > > > -Original Message- > From: Lukasz Lenart [mailto:[email protected]] > Sent: Thursday, August 25, 2016 12:04 PM > To: Struts Users Mailing List > Subject: Re: Struts2 (2.3.16) upgrade failure - No mapping found for > dependency 'actionPackages' > > 2016-08-25 17:36 GMT+02:00 Dhamelia, Krunal > : >> >> Hi, >> Using Struts2 and Spring combination for web Project. >> Build and Dependency env is Maven >> I upgraded libraries from Struts 2.0.11 to 2.3.16 and getting following >> error. Can't think of any missing dependency can you please point out? >> >> >> Caused by: java.lang.RuntimeException: >> com.opensymphony.xwork2.inject.DependencyException: >> com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No >> mapping found for dependency [type=java.lang.String, name='actionPackages'] >> in public void >> org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String). >> at >> com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502) >> at >> com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java >> :539) > > Did you change DTD in struts.xml as well to match 2.3? Did you include the > Convention Plugin instead of the Codebehind plugin which is deprecated? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > If you wish to unsubscribe from receiving commercial electronic messages from > TD Bank Group, please click here or go to the following web address: > www.td.com/tdoptout Si vous souhaitez vous désabonner des messages > électroniques de nature commerciale envoyés par Groupe Banque TD veuillez > cliquer ici ou vous rendre à l'adresse www.td.com/tddesab > > NOTICE: Confidential message which may be privileged. Unauthorized > use/disclosure prohibited. If received in error, please go to > www.td.com/legal for instructions. > AVIS : Message confidentiel dont le contenu peut être privilégié. > Utilisation/divulgation interdites sans permission. Si reçu par erreur, > prière d'aller au www.td.com/francais/avis_juridique pour des instructions. > B CB &
RE: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages'
Thanks Lukasz, That worked fine. I am one step further. I am using following filters in my web.xml and it is telling me that they are deprecated. I searched on internet but I am getting mixed answers could some one point me to right filters I need to use to replace this? I am using Spring Struts combination --- filterChainProxy org.springframework.web.filter.DelegatingFilterProxy filterChainProxy /* struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* -- Thanks and Regards, Krunal Dhamelia Consultant | TD Securities Technology Solutions| TD Securities 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 desk: 416 944 6187 cell: 647 835 3067 e-mail: [email protected] -Original Message- From: Dhamelia, Krunal Sent: Thursday, August 25, 2016 1:07 PM To: Struts Users Mailing List Subject: RE: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages' I haven't done that. Let me do it and will post if that resolves the issue, thanks a lot. Thanks and Regards, Krunal Dhamelia Consultant | TD Securities Technology Solutions| TD Securities 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 desk: 416 944 6187 cell: 647 835 3067 e-mail: [email protected] -Original Message- From: Lukasz Lenart [mailto:[email protected]] Sent: Thursday, August 25, 2016 12:04 PM To: Struts Users Mailing List Subject: Re: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages' 2016-08-25 17:36 GMT+02:00 Dhamelia, Krunal : > > Hi, > Using Struts2 and Spring combination for web Project. > Build and Dependency env is Maven > I upgraded libraries from Struts 2.0.11 to 2.3.16 and getting following > error. Can't think of any missing dependency can you please point out? > > > Caused by: java.lang.RuntimeException: > com.opensymphony.xwork2.inject.DependencyException: > com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No > mapping found for dependency [type=java.lang.String, name='actionPackages'] > in public void > org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String). > at > com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502) > at > com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java > :539) Did you change DTD in struts.xml as well to match 2.3? Did you include the Convention Plugin instead of the Codebehind plugin which is deprecated? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] If you wish to unsubscribe from receiving commercial electronic messages from TD Bank Group, please click here or go to the following web address: www.td.com/tdoptout Si vous souhaitez vous désabonner des messages électroniques de nature commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à l'adresse www.td.com/tddesab NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to www.td.com/legal for instructions. AVIS : Message confidentiel dont le contenu peut être privilégié. Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière d'aller au www.td.com/francais/avis_juridique pour des instructions. B CB [ X ܚX KK[XZ[ \ \ ][ X ܚX P ]˘\X K ܙ B ܈Y][ۘ[ [X[ K[XZ[ \ \ Z[ ]˘\X K ܙ B - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
RE: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages'
I haven't done that. Let me do it and will post if that resolves the issue, thanks a lot. Thanks and Regards, Krunal Dhamelia Consultant | TD Securities Technology Solutions| TD Securities 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 desk: 416 944 6187 cell: 647 835 3067 e-mail: [email protected] -Original Message- From: Lukasz Lenart [mailto:[email protected]] Sent: Thursday, August 25, 2016 12:04 PM To: Struts Users Mailing List Subject: Re: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages' 2016-08-25 17:36 GMT+02:00 Dhamelia, Krunal : > > Hi, > Using Struts2 and Spring combination for web Project. > Build and Dependency env is Maven > I upgraded libraries from Struts 2.0.11 to 2.3.16 and getting following > error. Can't think of any missing dependency can you please point out? > > > Caused by: java.lang.RuntimeException: > com.opensymphony.xwork2.inject.DependencyException: > com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No > mapping found for dependency [type=java.lang.String, name='actionPackages'] > in public void > org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String). > at > com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502) > at > com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java > :539) Did you change DTD in struts.xml as well to match 2.3? Did you include the Convention Plugin instead of the Codebehind plugin which is deprecated? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] If you wish to unsubscribe from receiving commercial electronic messages from TD Bank Group, please click here or go to the following web address: www.td.com/tdoptout Si vous souhaitez vous désabonner des messages électroniques de nature commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à l'adresse www.td.com/tddesab NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to www.td.com/legal for instructions. AVIS : Message confidentiel dont le contenu peut être privilégié. Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière d'aller au www.td.com/francais/avis_juridique pour des instructions.
Re: Struts2 (2.3.16) upgrade failure - No mapping found for dependency 'actionPackages'
2016-08-25 17:36 GMT+02:00 Dhamelia, Krunal : > > Hi, > Using Struts2 and Spring combination for web Project. > Build and Dependency env is Maven > I upgraded libraries from Struts 2.0.11 to 2.3.16 and getting following > error. Can't think of any missing dependency can you please point out? > > > Caused by: java.lang.RuntimeException: > com.opensymphony.xwork2.inject.DependencyException: > com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No > mapping found for dependency [type=java.lang.String, name='actionPackages'] > in public void > org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String). > at > com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:502) > at > com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:539) Did you change DTD in struts.xml as well to match 2.3? Did you include the Convention Plugin instead of the Codebehind plugin which is deprecated? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

