maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6618) Maven doesn't export org.slf4j.event.Level
Date Mon, 01 Apr 2019 08:56:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806533#comment-16806533
] 

Michael Osipov commented on MNG-6618:
-------------------------------------

[~slachiewicz], let's merge it and see what happens. I guess it was proven to work earlier.
Karl wants to continue on the release.

> Maven doesn't export org.slf4j.event.Level
> ------------------------------------------
>
>                 Key: MNG-6618
>                 URL: https://issues.apache.org/jira/browse/MNG-6618
>             Project: Maven
>          Issue Type: Task
>    Affects Versions: 3.6.0
>            Reporter: Viacheslav Yakunin
>            Assignee: Sylwester Lachiewicz
>            Priority: Blocker
>             Fix For: 3.6.x-candidate, waiting-for-feedback
>
>
> Hi, this is the same issue as [MNG-6360|https://issues.apache.org/jira/browse/MNG-6360]. Unfortunately
I was not able to reopen it so I am creating new one.
> I was able to reproduce it when I tried to create maven plugin for running kafka broker
during integration tests. Kafka refers to org.slf4j.event.Level and this causes following
exception during plugin execution.
> {code:java}
> [ERROR] [KafkaServer id=1] Fatal error during KafkaServer shutdown.
> java.lang.NoClassDefFoundError: org/slf4j/event/Level
>                 at kafka.utils.CoreUtils$.swallow$default$3(CoreUtils.scala:84)
>                 at kafka.server.KafkaServer.shutdown(KafkaServer.scala:567)
>                 at net.sla.buildtools.kafka.maven.plugin.SingletonLauncher.stop(SingletonLauncher.java:73)
>                 at net.sla.buildtools.kafka.maven.plugin.StopKafkaBrokerMojo.execute(StopKafkaBrokerMojo.java:18)
>                 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>                 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>                 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>                 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>                 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>                 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>                 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>                 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>                 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>                 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>                 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>                 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>                 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>                 at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>                 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>                 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>                 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>                 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>                 at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>                 at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:65)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.event.Level
>                 at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>                 at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
>                 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
>                 at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>                 ... 32 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message