The origin server did not find a current representation for the target resource or is not willing to disclose that one exists- unable to resolve wiki post upgrade

We use devwiki for quite sometime now! We had to do a nginx upgrade on the box where we host out wiki and we also did the ubuntu version upgrade to 20.0 along with it we also upgraded the tomcat version from 7 to 9 and since then tomcat is unable to find wiki. I am attaching the logs here for your reference
wikilog.txt (46.8 KB)

This server was working just fine with tomcat7. I think I am missing some configuration within Tomcat9 which is not pointing to the wiki libraries.
Could you please help in finding the rootcause and resolving the issue.

This is how the /usr/lib/xwiki/WEB-INF looks
.

cache/etc/xwiki/cache
classes/etc/xwiki/classes
fonts/etc/xwiki/fonts
hibernate.cfg.xml → /etc/xwiki/hibernate.cfg.xml
lib
observation/etc/xwiki/observation
portlet.xml → /etc/xwiki/portlet.xml
struts-config.xml → /etc/xwiki/struts-config.xml
sun-web.xml → /etc/xwiki/sun-web.xml
version.properties → /etc/xwiki/version.properties
web.xml → /etc/xwiki/web.xml
xwiki.cfg → /etc/xwiki/xwiki.cfg
xwiki.properties → /etc/xwiki/xwiki.properties

and this is the version of wiki we have
image

Appreciate if you could help resolve the issue

@vmassol Vincent Massol I see you have found resolution to similar issues in the past, could you help here too?