jboss5下报如下错误
ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
解决:jboss\server\default\deployers\jbossweb.deployer\META-INF\war-deployers-jboss-beans.xml 添加org.slf4j,以过滤该包(根据自己的jboss安装路径)
<!-- Allow for war local class loaders: in testing -->
<bean name="WarClassLoaderDeployer" class="org.jboss.web.tomcat.service.deployers.WarClassLoaderDeployer">
<property name="relativeOrder">-1</property>
<property name="filteredPackages">javax.servlet,org.apache.commons.logging,org.slf4j</property>
</bean>