Hi, I run the tomcatRunWar task and is running Ok. Also I checked the generated files and the version packaged inside them it’s the right one 8.0.30 compatible with the current Spring version.
However when I run the build task with this command: -Penv=dev clean build dist It seems that is packaging 8.0.3 and 7.0.55 versions of tomcat-embed libraries in the jar and war files as seen in this picture. [cid:[email protected]] This only happens when the files are built with env parameter as dev. It may not be a big issue since apparently I’m the only one running the build task with this parameter. I will continue checking this issue and I’ll let you know if I find something else. Thanks for your attention From: Awasum Yannick <[email protected]> Sent: lunes, 27 de mayo de 2019 14:04 To: Dev <[email protected]> Subject: Re: Upgrade Apache Tomcat Version for Fineract Hi, Does tomcatRunWar task not work with the current code base? If this is the case, then create an issue, send a PR and we will review together. Thanks On Mon, May 27, 2019, 16:59 Angel Cajas <[email protected]<mailto:[email protected]>> wrote: Hello devs, I’ve been testing some features recently and tried to deploy Fineract using the embedded Tomcat server that it’s used while building the project with dev environment. However the next error was thrown when I tried to start the app with embedded Tomcat server: Caused by: java.lang.IllegalStateException: Expected method not found: java.lang .NoSuchMethodException It seems that Spring and Spring Boot versions were upgraded some months ago and that change also required the upgrade of Tomcat from version 7.0.54 to version 8.0.30 in the project dependencies. I changed the version and it worked for me, however I would like to know your opinions and if this change and if this has also happened to you while trying to start Fineract with the embedded server. Thanks for you attention Regards, Angel.
