在使用slf4j进行日志记录之前,现在我将其替换为log4j。但是当我通过teamcity部署在weblogic中时发现了错误。
在weblogic本地,我可以部署它。
java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.springframework.boot.logging.logback.LogbackLoggingSystem$1.decide(Lorg/slf4j/Marker;Lch/qos/logback/classic/Logger;Lch/qos/logback/classic/Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)Lch/qos/logback/core/spi/FilterReply;"
the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/springframework/boot/logging/logback/LogbackLoggingSystem$1,
and its superclass loader (instance of java/net/URLClassLoader),
have different Class objects for the type org/slf4j/Marker used in the signature
有人可以帮我解决这个问题吗?