Class org.apache.commons.logging.impl.SLF4JLogFactory does not implement org.apache.commons.logging.html
最近集成asix包的時候發生以下錯誤,緣由是程序運行時logFactoryImple加載了JBOSS下面的sff4j包的實現。解決方法apache
1.JVM參數添加htm
-Dorg.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImplio
參考程序
http://commons.apache.org/proper/commons-logging/troubleshooting.html#JBoss_Application_Server方法