[jboss-jira] [JBoss JIRA] (AS7-3988) ClassNotFoundException org.slf4j thrown from module org.jboss.logging

David Lloyd (JIRA) jira-events at lists.jboss.org
Thu Mar 1 16:20:36 EST 2012


     [ https://issues.jboss.org/browse/AS7-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved AS7-3988.
------------------------------

    Resolution: Cannot Reproduce Bug


The simple answer is, deploying the 7.1 kitchensink quickstart on 7.1.0 doesn't exhibit this behavior.  This is a known problem with the quickstart that came with AS 7.0.  If JBoss Tools is shipping with the older quickstart, then a bug should be filed in that project.

The specific problem is caused by various logging JARs being pulled into the kitchensink bean archive JARs via the maven-shade-plugin, which is not something one would normally want to do.
                
> ClassNotFoundException org.slf4j thrown from module org.jboss.logging
> ---------------------------------------------------------------------
>
>                 Key: AS7-3988
>                 URL: https://issues.jboss.org/browse/AS7-3988
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CDI / Weld, Class Loading, Logging
>    Affects Versions: 7.1.0.Final
>         Environment: Windows Vista
>            Reporter: Tanya Ruttenberg
>            Assignee: Stuart Douglas
>              Labels: jboss
>         Attachments: server.log
>
>
> I created the kitchensink quickstart from jboss tools. When I deployed it I got a raft of ClassNotFound errors refering to classes in org.slf4j.  I tried to fix it by adding this module to maven, to jboss-deployment-structure.xml, the WEB-INF/lib, Manifest.MF classpath, everything I could think of.  The only thing that fixed this very annoying error was to add org.slf4j to the org.jboss.logging module.xml as a dependent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list