You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% mvn clean install -T1C -Dmaven.logging=
[ERROR] Internal error: java.lang.ClassCastException: class org.slf4j.impl.MavenSimpleLoggerFactory cannot be cast to class ch.qos.logback.classic.LoggerContext (org.slf4j.impl.MavenSimpleLoggerFactory is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @78308db1; ch.qos.logback.classic.LoggerContext is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @392a04e7) -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.ClassCastException: class org.slf4j.impl.MavenSimpleLoggerFactory cannot be cast to class ch.qos.logback.classic.LoggerContext (org.slf4j.impl.MavenSimpleLoggerFactory is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @78308db1; ch.qos.logback.classic.LoggerContext is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @392a04e7)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:109)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: java.lang.ClassCastException: class org.slf4j.impl.MavenSimpleLoggerFactory cannot be cast to class ch.qos.logback.classic.LoggerContext (org.slf4j.impl.MavenSimpleLoggerFactory is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @78308db1; ch.qos.logback.classic.LoggerContext is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @392a04e7)
at io.takari.maven.logback.internal.LogbackConfiguration.afterSessionStart (LogbackConfiguration.java:45)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:188)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:568)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
I have
concurrent-build-logger
installed in my.mvn/extensions.xml
but when I run it I get:
These are the relevant versions that I'm using:
The text was updated successfully, but these errors were encountered: