Bonjour à tous,

Voici le contexte. On m'a demandé de rapatrier un site développé pour Tomcat sur un serveur en ne me fournissant que le fichier .WAR, la version de java 1.7.0_79 et de Tomcat 7 utilisés sur l'ancien serveur.
J'ai donc installé une VM avec ce qu'il fallait.
Le déploiement s'est passé sans soucis, le site front fonctionne, mais, il y a un back-office à ce site qui passe forcément par une connexion classique (identifiant, mot de passe).
C'est là que se trouve mon problème, la connexion ne fonctionne pas.
La seule erreur que j'ai se trouve dans le fichier stacktrace.log, rien dans les autres fichiers de log.

2020-07-07 16:17:10,483 [http-bio-80-exec-5] ERROR StackTrace - Full Stack Trace:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean '$primaryTransactionManager' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '$primaryTransactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean '$primaryTransactionManager' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '$primaryTransactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
... 3 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '$primaryTransactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
... 3 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
... 3 more
Caused by: java.lang.OutOfMemoryError: PermGen space
Merci par avance pour votre aide qui me sera d'un grand secours.