You can try to downgrade commons-text to version 1.10.0 as then it uses commons-lang3 3.12.0
https://central.sonatype.com/artifact/org.apache.commons/commons-text/1.10.0/dependencies czw., 25 kwi 2024 o 13:13 SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com.invalid> napisał(a): > > Hi Luk > > I found the issue, the below email helps me to narrow down the issue - > https://lists.apache.org/thread/jswvr9ls6kxqncp2b0423tby1orvqgsg > > The dependency version which we used on the PR branch(feature/WW-5420-text), > 6.4.0 and 6.5.0-SNAPSHOT version has commons-lang3 version as 3.14.0. > Whereas the latest Apache TomEE 8.x container has the version commons-lang3 - > 3.12.0. > (Please find the attachment for more details) > > As the container libs has highest precendence when compared to the > application to load, we have a issue and getting the error as below, > java.lang.NoClassDefFoundError: org/apache/commons/lang3/Range > > In order to run the application with Struts 6.4.0 and 6.5.0-SNAPSHOT we > should align the dependencies with same as the container library version. > If there is any way to instruct the precedence of the library to the > application higher than the container please do let me know if now I doubt > this will work on the Apache TomEE web server of version 8.x > > I believe it is best to have the version same as the container one, please > review my comments and do let me know your thoughts on the same. > > Thanks and Regards, > Saravanan.S > FTMS/NFT APP-DEV Team > ________________________________ > From: SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com> > Sent: Thursday, April 25, 2024 12:20 PM > To: Struts Users Mailing List <user@struts.apache.org> > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > Testing > > Hi Luk > > Thank you, let me check by taking the PR in my local and keep you posted. > > Thanks and Regards, > Saravanan.S > ________________________________ > From: Lukasz Lenart <lukaszlen...@apache.org> > Sent: Thursday, April 25, 2024 11:56 AM > To: Struts Users Mailing List <user@struts.apache.org> > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > Testing > > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > I upgraded commons-text to ver 1.12.0 > https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fstruts%2Fpull%2F924&data=05%7C02%7CSARAVANAN.SIVAGURU%40nielseniq.com%7C1aaf7a56d77745bc537108dc64f0bd53%7C6ac7a1f45fb14153bb4f12d2020a1f7d%7C0%7C0%7C638496232335496749%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=HAoWZZIb2ts2PQyWu90jd6IHh4cGrVLKoSRZHXcR2Tw%3D&reserved=0 > > śr., 24 kwi 2024 o 15:27 SARAVANAN SIVAGURU > <saravanan.sivag...@nielseniq.com.invalid> napisał(a): > > > > Hi Luk > > > > Even for 6.4 version am facing the issue irrespective of changing the > > dependency version or not on common-text. > > > > Thanks and Regards, > > Saravanan.S > > ________________________________ > > From: SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com> > > Sent: Tuesday, April 23, 2024 6:45 PM > > To: Struts Users Mailing List <user@struts.apache.org> > > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > > Testing > > > > Hi Luk > > > > Please find the attachment for the 6.5 version dependency. > > > > Thanks and Regards, > > Saravanan.S > > ________________________________ > > From: SARAVANAN SIVAGURU <saravanan.sivag...@nielseniq.com.INVALID> > > Sent: Tuesday, April 23, 2024 2:31 PM > > To: Struts Users Mailing List <user@struts.apache.org> > > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > > Testing > > > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know > > the content is safe. > > > > > > Sure, I will do > > > > Thanks and Regards, > > Saravanan.S > > ________________________________ > > From: Lukasz Lenart <lukaszlen...@apache.org> > > Sent: Tuesday, April 23, 2024 2:29 PM > > To: Struts Users Mailing List <user@struts.apache.org> > > Subject: Re: WW-5419 - Autoloading of tiles.xml fails in Struts-6.4.0 | > > Testing > > > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know > > the content is safe. > > > > > > wt., 23 kwi 2024 o 10:54 SARAVANAN SIVAGURU > > <saravanan.sivag...@nielseniq.com.invalid> napisał(a): > > > > > Hi Luk > > > > > > Somehow I was unable to share the report files as a attachment in html > > > format. Am attaching the text file, output of the gradle dependencies > > > command for the my application. > > > > > > > This is for Struts 6.4.0, but could you use Struts 6.5.0-SNAPSHOT and > > re-post the dependencies? > > > > > > Thanks in advance > > Lukasz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org