Bug #3391

Import, slf4j logs warning messages

Ajouté par Serge Heiden il y a plus de 2 ans. Mis à jour il y a environ 2 ans.

Statut:New Début:22/05/2023
Priorité:Normal Echéance:
Assigné à:- % réalisé:

0%

Catégorie:Update Temps passé: -
Version cible:TXM 0.8.4

Description

Import multiple error messages.

Also log system broken:

  • SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

Full console content:

Démarrage de TXM 0.8.3 (2023-05-11 14h24)…
TXM is running in test mode. This mode is not intendend to be used to work.
Looking for TXM updates...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Solution

The slf4j.api is looking for an implementation of org.slf4j.impl.StaticLoggerBinder and :
  • does not find one
  • OR failed to instanciate it

Adding one of the StaticLoggerBinder implementation jar to the "org.txm.rcp" libs does not fix the problem: slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar

Adding the org.slf4j.api to the dependant plugins of org.rxm.rcp does not fix the problem.

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 2 ans

  • Description mis à jour (diff)

#2 Mis à jour par Matthieu Decorde il y a plus de 2 ans

  • Version cible changé de TXM 0.8.3 à TXM 0.8.4

#3 Mis à jour par Matthieu Decorde il y a environ 2 ans

  • Sujet changé de update broken & log broken à Import, slf4j logs warning messages
  • Description mis à jour (diff)

Formats disponibles : Atom PDF