You need to run it under Java 11 instead of Java 8. The error message shown
kind of says that ("Could not target platform... Java SE 11 using tool
chain JDK 8 (1.8)"), but it's probably not clear enough?PS: When you post on public mailing lists, could you please always copy/paste text, instead of screenshots? That makes it easier for others to search for such errors, and find previous answers. On Tue, Sep 29, 2020 at 11:36 AM ጓይላና Tube <[email protected]> wrote: > Hello. > i want to create a fineract-provider jar file. When I run 𝗴𝗿𝗮𝗱𝗹𝗲𝘄 > 𝗰𝗹𝗲𝗮𝗻 𝗯𝗼𝗼𝘁𝗝𝗮𝗿. i got this error. any help/suggestion? > > > [image: fail.jpg] > > On Tue, 29 Sep 2020 at 09:15, Mhretaab Brehe <[email protected]> wrote: > >> Wouldn't it be good to externalize (the database password particularly >> for fineract_tenants) to some property file or command line arguments so as >> to avoid the password mysql? >> when you run the artifact java -jar fineract-provider.jar >> --db.password=your_finearact_tenants_password and some where within the >> code to use >> @value("${db.password}")String tenantsDbPassword; >> >> thanks >> >> On Mon, Sep 28, 2020 at 8:59 PM Michael Vorburger <[email protected]> >> wrote: >> >>> On Mon, Sep 28, 2020 at 7:42 PM Airsay Longcon <[email protected]> >>> wrote: >>> >>>> Hi Michael, >>>> Thank you for the response. I understand that a straightforward java >>>> -jar would run the jar build. I guess my question was more about how to >>>> configure the other software like the Web-app and MySQL as I would like to >>>> change the defaults such as the MySQL root password and port, the port >>>> which the community/web apps will run on and some other basic changes so >>>> that I don't have an environment that is a sitting duck for attacks >>>> >>> >>> That seems very wise! :) Of course, your database shouldn't even be >>> internet exposed at all in the first place, and only on a local IP... ;-) >>> >>> Jokes aside, thank you for clarifying what doc you were missing. Does >>> https://github.com/apache/fineract/pull/1357/files help to clarify re. >>> DB? >>> >>> Re. the port which the community/web apps, that may be a bigger >>> misunderstanding - Apache Fineract does not actually include the >>> community/web app UI at all! So java -jar fineract-provider.jar only runs >>> the backend. If anything made you think that it does, please point us to >>> where we say so, so that doc can be clarified. ( >>> https://github.com/apache/fineract/#instructions-to-run-using-docker-and-docker-compose >>> however does include the community-app, but that's just for >>> convenience/demo. That has nothing to do with the Fineract JAR/WAR itself, >>> it's just via >>> https://github.com/apache/fineract/blob/develop/docker-compose.yml#L59.) >>> >>> >>> >>>> On 27 Sep 2020, at 20:22, Michael Vorburger <[email protected]> wrote: >>>> >>>> >>>> Ese, >>>> >>>> On Sun, 27 Sep 2020, 20:38 Airsay Longcon, <[email protected]> >>>> wrote: >>>> >>>>> Hi Michael, >>>>> For a production server, how would one deploy using the jar? >>>>> >>>> >>>> Simply java -jar, as per >>>> https://github.com/apache/fineract/#instructions-to-build-the-jar-file >>>> >>>> Please do let us know what information you are missing re. that, so >>>> that we may improve the README. >>>> >>>> >>>> On 27 Sep 2020, at 18:48, Michael Vorburger <[email protected]> wrote: >>>>> >>>>> >>>>> Tube, >>>>> >>>>> Have you seen/are you perhaps simply looking for >>>>> https://github.com/apache/fineract/#instructions-how-to-run-for-local-development >>>>> ? >>>>> >>>>> With "./gradlew bootRun", you don't need Tomcat anymore to develop on >>>>> Fineract! >>>>> >>>>> Hope this helps? >>>>> M. >>>>> >>>>> >>>>> On Sun, 27 Sep 2020, 17:55 Kelvin Ikome, <[email protected]> wrote: >>>>> >>>>>> Hi there, >>>>>> >>>>>> Please provide more information on what changes you are trying to >>>>>> make which isn't working >>>>>> >>>>>> On Sun, Sep 27, 2020 at 4:10 PM ጓይላና Tube <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> 𝒉𝒆𝒍𝒍𝒐 . >>>>>>> 𝑰 𝒘𝒂𝒏𝒕 𝒕𝒐 𝒄𝒖𝒔𝒕𝒐𝒎𝒊𝒛𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅 >>>>>>> 𝒄𝒐𝒅𝒆(𝒋𝒂𝒗𝒂). 𝒃𝒖𝒕 𝒘𝒉𝒆𝒏 𝒊 𝒓𝒖𝒏 𝒕𝒉𝒆 >>>>>>> 𝒇𝒊𝒏𝒆𝒓𝒂𝒄𝒕-𝒑𝒓𝒐𝒗𝒊𝒅𝒆𝒓 𝒇𝒊𝒍𝒆. 𝒏𝒐𝒕𝒉𝒊𝒏𝒈 𝒊𝒔 >>>>>>> 𝒄𝒉𝒂𝒏𝒈𝒆𝒅. 𝒄𝒂𝒏 𝒚𝒐𝒖 𝒈𝒖𝒊𝒅𝒆 𝒎𝒆 𝒉𝒐𝒘 𝒕𝒐 >>>>>>> 𝒆𝒅𝒊𝒕/𝒄𝒉𝒂𝒏𝒈𝒆 𝒕𝒉𝒆 𝒃𝒂𝒄𝒌𝒆𝒏𝒅 𝒄𝒐𝒅𝒆 𝒂𝒏𝒅 𝒅𝒆𝒑𝒍𝒐𝒚 >>>>>>> 𝒊𝒏𝒕𝒐 𝒕𝒐𝒎𝒄𝒂𝒕. >>>>>>> 𝑹𝒆𝒈𝒂𝒓𝒅𝒔 >>>>>>> >>>>>>
