Installing on windows 11

Hello,
After deploying the war dhis2 file in tomcat webapps directory and restarting tomcat, dhis2 I try the URL http://localhost:8080/ but I got 404 error page with the message :
La ressource demandée [/] n’est pas disponible
I’m suprise that there is no web.xml file.
I use :

  • Apache Tomcat/10.1.25
  • JVM 22.0.1+8-16
  • dhis2-stable-41.0.1
    Thanks to help me
    Laurent

Hi @laurent

You might to stick to Java 17, in the upgrade notes it says:

Version 41 of DHIS2 now requires Java 17 runtime environment.(prerequisites)

I think what you are looking for here is /home/dhis/config/dhis.conf as well as the tomcat-dhis/bin/setenv.sh

If it doesn’t work, you might want to try another method:How to spin up a DHIS2 local instance | DHIS2 Developer Portal

Strongly advise you to use:
Tomcat 9
Java 17 openjdk
Postgresql 14

1 Like

Hi Ulanbek

Many thanks for your help.
With Java 17 and Tomcat 9 now DHIS2 is running
For now I still using posgres 16. I will downgrade to 14 if some trouble come

Laurent

Many Thanks Gassim

I have downgraded to java 17 et also tomcat 9 and it’s running.

Laurent