[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 11:45:36 EST 2012


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

David Lloyd updated AS7-3988:
-----------------------------

           Assignee: Stuart Douglas  (was: David Lloyd)
        Component/s: CDI / Weld
    Forum Reference: https://community.jboss.org/message/719857  (was: https://community.jboss.org/message/719857)


Unexpectedly, this appears to be a Weld issue.  Assigning to Stuart for his analysis.  It seems that Weld is having a hard time dealing with optional dependencies.
                
> 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