Springboot Service in WildFly: Logback -Fehler nach dem Ausschluss des LogbacksJava

Java-Forum
Anonymous
 Springboot Service in WildFly: Logback -Fehler nach dem Ausschluss des Logbacks

Post by Anonymous »

Ich habe einen Service, den ich in Wildfly 25.0.0 beginne. Als ich den Service zum ersten Mal begann, bekam ich: < /p>

Code: Select all

    LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Slf4jLoggerFactory loaded from jar:file:/mypath/wildfly-25.0.0-program/modules/system/layers/base/org/slf4j/impl/main/slf4j-jboss-logmanager-1.1.0.Final.jar!/). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.impl.Slf4jLoggerFactory
WFLYCTL0448: 1 additional services are down due to their dependencies being missing or failed
< /code>
Ich fuhr dann fort und schloss jeden möglichen Logback aus. Wenn ich MVN -Abhängigkeit ausführe: Baum, habe ich dort keinen Logback sichtbar. Trotzdem erhalte ich diesen Fehler jedes Mal.  PrettyPrint-Override ">
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0

myservice
myservice.parent
1.7.0
pom

myservice
This module is the parent/masterpom for myservice



UTF-8


11


4.6.0


3.1.0
3.2.1


3.4.1.Final
3.0.24.Final

4.6.0.Final
4.6.0.Final

3.2.1


2.3.0
1.3.2


2.11.0


8.0


1.6.2


2.8.6
3.0.2


6.0.0
2.7.5
2.7.5
1.6.13



org.drools
drools-core
${drools.version}


org.kie
kie-spring
${drools.version}









org.apache.maven.plugins
maven-compiler-plugin

${java.version}
${java.version}



org.apache.maven.plugins
maven-war-plugin
${maven-war-plugin.version}


org.apache.cxf
cxf-java2ws-plugin
${cxf-java2ws-plugin.version}


org.owasp
dependency-check-maven
7.4.1



check





org.eclipse.m2e
lifecycle-mapping
1.0.0





org.jvnet.jax-ws-commons
jaxws-maven-plugin
[2.2,)

wsimport














org.apache.maven.plugins
maven-compiler-plugin


org.apache.maven.plugins
maven-war-plugin



Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post