You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2015/03/10 01:35:18 UTC

[jira] (MNG-5783) cobertura-maven-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory

     [ https://jira.codehaus.org/browse/MNG-5783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MNG-5783:
-------------------------------

    Fix Version/s: 3.3.0

> cobertura-maven-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-5783
>                 URL: https://jira.codehaus.org/browse/MNG-5783
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Herve Boutemy
>            Priority: Critical
>             Fix For: 3.3.0
>
>
> testing cobertura-maven-plugin from svn http://mojo.codehaus.org/cobertura-maven-plugin/
> IT pass with Maven 3.2.5 but fail with 3.3.0-SNAPSHOT
> (not the same issue as MNG-5779)
> {noformat}[DEBUG] /bin/sh -c /opt/jdk1.7.0_71/jre/bin/java -Dlog4j.configuration=file:/tmp/log4j1560920244563737852config.properties -Xmx1024m net.sourceforge.cobertura.instrument.InstrumentMain --commandsfile /tmp/cobertura.4914644993417176752.cmdline
> [DEBUG] exit code: 1
> [DEBUG] --------------------
> [DEBUG]  Standard error from the Cobertura task:
> [DEBUG] --------------------
> [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> 	at net.sourceforge.cobertura.instrument.InstrumentMain$LoggerWrapper.<init>(InstrumentMain.java:165)
> 	at net.sourceforge.cobertura.instrument.InstrumentMain$LoggerWrapper.<init>(InstrumentMain.java:164)
> 	at net.sourceforge.cobertura.instrument.InstrumentMain.<clinit>(InstrumentMain.java:66)
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 3 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)